Sulu\Component\Content\Repository\ContentRepositoryInterface::findAll PHP Method

findAll() public method

Find all pages and returns an array of content.
public findAll ( string $locale, string $webspaceKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) : Content[]
$locale string
$webspaceKey string
$mapping Sulu\Component\Content\Repository\Mapping\MappingInterface
$user Sulu\Component\Security\Authentication\UserInterface
return Content[]
    public function findAll($locale, $webspaceKey, MappingInterface $mapping, UserInterface $user = null);