PHP Class spec\Newscoop\Services\CommentServiceSpec

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
it_is_initializable ( )
it_should_check_if_user_is_banned ( Commenter $commenter )
it_should_get_all_replies ( CommentRepository $commentRepository )
let ( EntityManager $em, AcceptanceRepository $repository, Doctrine\ORM\QueryBuilder $queryBuilder, Doctrine\ORM\Query\Expr $expr, Doctrine\ORM\AbstractQuery $query, PublicationService $publicationService )

Method Details

it_is_initializable() public méthode

public it_is_initializable ( )

it_should_check_if_user_is_banned() public méthode

public it_should_check_if_user_is_banned ( Commenter $commenter )
$commenter Newscoop\Entity\Comment\Commenter

it_should_get_all_replies() public méthode

public it_should_get_all_replies ( CommentRepository $commentRepository )
$commentRepository Newscoop\Entity\Repository\CommentRepository

let() public méthode

public let ( EntityManager $em, AcceptanceRepository $repository, Doctrine\ORM\QueryBuilder $queryBuilder, Doctrine\ORM\Query\Expr $expr, Doctrine\ORM\AbstractQuery $query, PublicationService $publicationService )
$em Doctrine\ORM\EntityManager
$repository Newscoop\Entity\Repository\Comment\AcceptanceRepository
$queryBuilder Doctrine\ORM\QueryBuilder
$expr Doctrine\ORM\Query\Expr
$query Doctrine\ORM\AbstractQuery
$publicationService Newscoop\Services\PublicationService