public __construct ( eZ\Publish\API\Repository\Repository $repository ) | ||
$repository | eZ\Publish\API\Repository\Repository |
public function __construct(Repository $repository)
{
$this->repository = $repository;
$this->contentService = $repository->getContentService();
$this->locationService = $repository->getLocationService();
}