Skip to content

Instantly share code, notes, and snippets.

@janit
Last active February 28, 2016 09:50
Show Gist options
  • Save janit/fb50cfa6609b2f58a31d to your computer and use it in GitHub Desktop.
Save janit/fb50cfa6609b2f58a31d to your computer and use it in GitHub Desktop.
<?php
/**
* @param \eZ\Publish\API\Repository\ContentService $contentService
* @param \eZ\Publish\API\Repository\SearchService $searchService
* @param \eZ\Publish\API\Repository\LocationService $locationService
* @param \eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver
* @param \AppBundle\Criteria\Children $childrenCriteria
* @param int $randomPostsLimit
* @param int $blogPostLimit
*/
public function __construct(
ContentService $contentService,
SearchService $searchService,
LocationService $locationService,
ConfigResolverInterface $configResolver,
Children $childrenCriteria,
$randomPostsLimit,
$blogPostLimit
) {
$this->contentService = $contentService;
$this->searchService = $searchService;
$this->locationService = $locationService;
$this->configResolver = $configResolver;
$this->childrenCriteria = $childrenCriteria;
$this->randomPostsLimit = $randomPostsLimit;
$this->blogPostLimit = $blogPostLimit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment