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

findByPaths() public method

Find content array which given paths.
public findByPaths ( array $paths, string $locale, Sulu\Component\Content\Repository\Mapping\MappingInterface $mapping, Sulu\Component\Security\Authentication\UserInterface $user = null ) : Content[]
$paths array
$locale string
$mapping Sulu\Component\Content\Repository\Mapping\MappingInterface Includes array of property names
$user Sulu\Component\Security\Authentication\UserInterface
return Content[]
    public function findByPaths(array $paths, $locale, MappingInterface $mapping, UserInterface $user = null);