Neos\Neos\Domain\Repository\SiteRepository::findFirst PHP Method

findFirst() public method

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