PHP Класс spec\Newscoop\Services\IssueServiceSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_gets_the_latest_issue_for_current_publication ( Issue $issue, Publication $publication, $query, $repository, $em )
it_is_initializable ( )
it_resolves_issue_from_request_data ( Request $request, Issue $issue, Symfony\Component\HttpFoundation\ParameterBag $attributes, $repository, $publication, $query )
let ( EntityManager $em, PublicationService $publicationService, IssueRepository $repository, Issue $issue, Publication $publication, Doctrine\ORM\AbstractQuery $query, CacheService $cacheService )

Описание методов

it_gets_the_latest_issue_for_current_publication() публичный Метод

public it_gets_the_latest_issue_for_current_publication ( Issue $issue, Publication $publication, $query, $repository, $em )
$issue Newscoop\Entity\Issue
$publication Newscoop\Entity\Publication

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_resolves_issue_from_request_data() публичный Метод

public it_resolves_issue_from_request_data ( Request $request, Issue $issue, Symfony\Component\HttpFoundation\ParameterBag $attributes, $repository, $publication, $query )
$request Symfony\Component\HttpFoundation\Request
$issue Newscoop\Entity\Issue
$attributes Symfony\Component\HttpFoundation\ParameterBag

let() публичный Метод

public let ( EntityManager $em, PublicationService $publicationService, IssueRepository $repository, Issue $issue, Publication $publication, Doctrine\ORM\AbstractQuery $query, CacheService $cacheService )
$em Doctrine\ORM\EntityManager
$publicationService Newscoop\Services\PublicationService
$repository Newscoop\Entity\Repository\IssueRepository
$issue Newscoop\Entity\Issue
$publication Newscoop\Entity\Publication
$query Doctrine\ORM\AbstractQuery
$cacheService Newscoop\Services\CacheService