Neos\Neos\Domain\Repository\SiteRepository::findFirst PHP Méthode

findFirst() public méthode

Finds the first site
public findFirst ( ) : Site
Résultat Neos\Neos\Domain\Model\Site The first site or NULL if none exists
    public function findFirst()
    {
        return $this->createQuery()->execute()->getFirst();
    }