Find all pages and returns an array of content.
public findAllByPortal ( string $locale, string $portalKey, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) : |
||
$locale | string | |
$portalKey | string | |
$mapping | Sulu\Component\Content\Repository\Mapping\MappingInterface | |
$user | Sulu\Component\Security\Authentication\UserInterface | |
return |