PHP 클래스 spec\Newscoop\GimmeBundle\Controller\EditorialCommentsApiControllerSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
it_is_initializable ( )
it_should_create_new_editorial_comment ( Request $request, $form, $query, $article )
it_should_edit_editorial_comment ( Request $request, EditorialComment $comment, $form, $editorialCommentRepository, $query )
it_should_remove_editorial_comment ( Request $request, EditorialComment $comment, $editorialCommentRepository, $query )
it_should_resolve_editorial_comment ( Request $request, EditorialComment $comment, $form, $editorialCommentRepository, $query )
let ( Symfony\Component\DependencyInjection\Container $container, Doctrine\Bundle\DoctrineBundle\Registry $doctrine, ArticleRepository $articleRepository, EntityManager $entityManager, Request $request, FormFactory $formFactory, FormBuilder $formBuilder, Form $form, Symfony\Component\Form\FormView $formView, Router $router, EditorialCommentsService $editorialCommentService, EditorialComment $editorialComment, EditorialCommentRepository $editorialCommentRepository, User $user, UserService $userService, Article $article, Doctrine\ORM\AbstractQuery $query )

메소드 상세

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_should_create_new_editorial_comment() 공개 메소드

public it_should_create_new_editorial_comment ( Request $request, $form, $query, $article )
$request Symfony\Component\HttpFoundation\Request

it_should_edit_editorial_comment() 공개 메소드

public it_should_edit_editorial_comment ( Request $request, EditorialComment $comment, $form, $editorialCommentRepository, $query )
$request Symfony\Component\HttpFoundation\Request
$comment Newscoop\ArticlesBundle\Entity\EditorialComment

it_should_remove_editorial_comment() 공개 메소드

public it_should_remove_editorial_comment ( Request $request, EditorialComment $comment, $editorialCommentRepository, $query )
$request Symfony\Component\HttpFoundation\Request
$comment Newscoop\ArticlesBundle\Entity\EditorialComment

it_should_resolve_editorial_comment() 공개 메소드

public it_should_resolve_editorial_comment ( Request $request, EditorialComment $comment, $form, $editorialCommentRepository, $query )
$request Symfony\Component\HttpFoundation\Request
$comment Newscoop\ArticlesBundle\Entity\EditorialComment

let() 공개 메소드

public let ( Symfony\Component\DependencyInjection\Container $container, Doctrine\Bundle\DoctrineBundle\Registry $doctrine, ArticleRepository $articleRepository, EntityManager $entityManager, Request $request, FormFactory $formFactory, FormBuilder $formBuilder, Form $form, Symfony\Component\Form\FormView $formView, Router $router, EditorialCommentsService $editorialCommentService, EditorialComment $editorialComment, EditorialCommentRepository $editorialCommentRepository, User $user, UserService $userService, Article $article, Doctrine\ORM\AbstractQuery $query )
$container Symfony\Component\DependencyInjection\Container
$doctrine Doctrine\Bundle\DoctrineBundle\Registry
$articleRepository Newscoop\Entity\Repository\ArticleRepository
$entityManager Doctrine\ORM\EntityManager
$request Symfony\Component\HttpFoundation\Request
$formFactory Symfony\Component\Form\FormFactory
$formBuilder Symfony\Component\Form\FormBuilder
$form Symfony\Component\Form\Form
$formView Symfony\Component\Form\FormView
$router Symfony\Component\Routing\Router
$editorialCommentService Newscoop\ArticlesBundle\Services\EditorialCommentsService
$editorialComment Newscoop\ArticlesBundle\Entity\EditorialComment
$editorialCommentRepository Newscoop\ArticlesBundle\Entity\Repository\EditorialCommentRepository
$user Newscoop\Entity\User
$userService Newscoop\Services\UserService
$article Newscoop\Entity\Article
$query Doctrine\ORM\AbstractQuery