Classes/Domain/Repository/AddressRepository.php
public function findOneByEmailIgnoreHidden($email)
    {
        $query = $this->createQuery();
        $query->getQuerySettings()->setIgnoreEnableFields(TRUE);

        $query->matching(
            $query->equals('email', $email )
        );

        return $query->execute()->getFirst();
    }
public function findOneByEmailIgnoreHidden($email)
    {
        $query = $this->createQuery();
        $query->getQuerySettings()->setIgnoreEnableFields(TRUE);

        $query->matching(
            $query->equals('email', $email )
        );

        return $query->execute()->getFirst();
    }
public function findOneByEmailIgnoreHidden ( $ email ) { $ query = $ this -> createQuery ( ) ; $ query -> getQuerySettings ( ) -> setIgnoreEnableFields ( TRUE ) ; $ query -> matching ( $ query -> equals ( 'email' , $ email ) ) ; return $ query -> execute ( ) -> getFirst ( ) ; }
Returns an Object by email address and ignores hidden field.

@param string $email
@return \TYPO3\CMS\Extbase\Persistence\QueryResultInterface|array
all objects, will be empty if no objects are found, will be an array if raw query results are enabled
Returns an Object by email address and ignores hidden field .