PHP Class spec\Ayaline\Bundle\ComposerBundle\Controller\ComposerControllerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: pborreli/composer-service

Public Methods

Method Description
getMatchers ( )
it_render_welcome_page ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Form $composerForm, Symfony\Component\Form\FormView $formView, Response $response )
it_return_json_with_error_message_when_form_data_is_not_valid_json ( Request $request, Form $composerForm, FormError $composerFormError )
it_return_json_with_success_status_and_create_sonata_notification ( Request $request, Symfony\Component\HttpFoundation\Session\Session $session, Form $composerForm, Sonata\NotificationBundle\Backend\AMQPBackendDispatcher $sonataNotificationsBackend )
let ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Form $composerForm, Sonata\NotificationBundle\Backend\AMQPBackendDispatcher $sonataNotificationsBackend )

Method Details

getMatchers() public method

public getMatchers ( )

it_render_welcome_page() public method

public it_render_welcome_page ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Form $composerForm, Symfony\Component\Form\FormView $formView, Response $response )
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$composerForm Symfony\Component\Form\Form
$formView Symfony\Component\Form\FormView
$response Symfony\Component\HttpFoundation\Response

it_return_json_with_error_message_when_form_data_is_not_valid_json() public method

public it_return_json_with_error_message_when_form_data_is_not_valid_json ( Request $request, Form $composerForm, FormError $composerFormError )
$request Symfony\Component\HttpFoundation\Request
$composerForm Symfony\Component\Form\Form
$composerFormError Symfony\Component\Form\FormError

it_return_json_with_success_status_and_create_sonata_notification() public method

public it_return_json_with_success_status_and_create_sonata_notification ( Request $request, Symfony\Component\HttpFoundation\Session\Session $session, Form $composerForm, Sonata\NotificationBundle\Backend\AMQPBackendDispatcher $sonataNotificationsBackend )
$request Symfony\Component\HttpFoundation\Request
$session Symfony\Component\HttpFoundation\Session\Session
$composerForm Symfony\Component\Form\Form
$sonataNotificationsBackend Sonata\NotificationBundle\Backend\AMQPBackendDispatcher

let() public method

public let ( Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Form $composerForm, Sonata\NotificationBundle\Backend\AMQPBackendDispatcher $sonataNotificationsBackend )
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$composerForm Symfony\Component\Form\Form
$sonataNotificationsBackend Sonata\NotificationBundle\Backend\AMQPBackendDispatcher