eZ\Publish\Core\Persistence\Legacy\User\Gateway\ExceptionConversion::loadByEmail PHP Метод

loadByEmail() публичный Метод

Loads user with user email.
public loadByEmail ( string $email ) : array
$email string
Результат array
    public function loadByEmail($email)
    {
        try {
            return $this->innerGateway->loadByEmail($email);
        } catch (\DBALException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        } catch (\PDOException $e) {
            throw new \RuntimeException('Database error', 0, $e);
        }
    }