PHP Class spec\Crummy\Phlack\Bridge\Symfony\HttpFoundation\RequestConverterSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: mcrumm/phlack

Protected Properties

Property Type Description
$slashCommand
$webhook

Public Methods

Method Description
it_converts_requests_into_slash_commands ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )
it_converts_requests_into_webhooks ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )
it_is_initializable ( )
it_throws_an_exception_for_an_invalid_request ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )

Method Details

it_converts_requests_into_slash_commands() public method

public it_converts_requests_into_slash_commands ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )
$request Symfony\Component\HttpFoundation\Request
$post Symfony\Component\HttpFoundation\ParameterBag
$get Symfony\Component\HttpFoundation\ParameterBag

it_converts_requests_into_webhooks() public method

public it_converts_requests_into_webhooks ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )
$request Symfony\Component\HttpFoundation\Request
$post Symfony\Component\HttpFoundation\ParameterBag
$get Symfony\Component\HttpFoundation\ParameterBag

it_is_initializable() public method

public it_is_initializable ( )

it_throws_an_exception_for_an_invalid_request() public method

public it_throws_an_exception_for_an_invalid_request ( Request $request, Symfony\Component\HttpFoundation\ParameterBag $post, Symfony\Component\HttpFoundation\ParameterBag $get )
$request Symfony\Component\HttpFoundation\Request
$post Symfony\Component\HttpFoundation\ParameterBag
$get Symfony\Component\HttpFoundation\ParameterBag

Property Details

$slashCommand protected_oe property

protected $slashCommand

$webhook protected_oe property

protected $webhook