eZ\Bundle\EzPublishCoreBundle\Features\Context\BasicContentContext::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, eZ\Publish\API\Repository\ContentService $contentService )
$repository eZ\Publish\API\Repository\Repository
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$contentService eZ\Publish\API\Repository\ContentService
    public function __construct(Repository $repository, ContentTypeService $contentTypeService, ContentService $contentService)
    {
        $this->setRepository($repository);
        $this->contentTypeService = $contentTypeService;
        $this->contentService = $contentService;
    }