我正在使用 Doctrine 并在 PHP 中有这一行:
$result = $entityManager->getRepository('Example\Entity\Users')->findOneBy(array(
'address' => $address->getId(),
'email' => $email->getEmail(),
'type' => $type->getId(),
));
我想知道是否有任何代码标准用于设置具有多个调用的行。我浏览了 Symphony 和其他一些 PSR,但找不到任何特定的东西。