PHP Class spec\Sylius\Bundle\ResourceBundle\Grid\Renderer\TwigGridRendererSpec

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: sylius/sylius

Public Methods

Method Description
it_is_a_grid_renderer ( )
it_is_initializable ( )
it_throws_an_exception_if_template_is_not_configured_for_given_action_type ( Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView $gridView, Sylius\Component\Grid\Definition\Action $action )
it_uses_twig_to_render_the_action ( Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser, Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView $gridView, Sylius\Component\Grid\Definition\Action $action, RequestConfiguration $requestConfiguration, Request $request )
let ( Sylius\Component\Grid\Renderer\GridRendererInterface $gridRenderer, Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser )

Method Details

it_is_a_grid_renderer() public method

it_is_initializable() public method

public it_is_initializable ( )

it_throws_an_exception_if_template_is_not_configured_for_given_action_type() public method

public it_throws_an_exception_if_template_is_not_configured_for_given_action_type ( Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView $gridView, Sylius\Component\Grid\Definition\Action $action )
$gridView Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView
$action Sylius\Component\Grid\Definition\Action

it_uses_twig_to_render_the_action() public method

public it_uses_twig_to_render_the_action ( Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser, Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView $gridView, Sylius\Component\Grid\Definition\Action $action, RequestConfiguration $requestConfiguration, Request $request )
$twig Twig_Environment
$optionsParser Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface
$gridView Sylius\Bundle\ResourceBundle\Grid\View\ResourceGridView
$action Sylius\Component\Grid\Definition\Action
$requestConfiguration Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration
$request Symfony\Component\HttpFoundation\Request

let() public method

public let ( Sylius\Component\Grid\Renderer\GridRendererInterface $gridRenderer, Twig_Environment $twig, Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface $optionsParser )
$gridRenderer Sylius\Component\Grid\Renderer\GridRendererInterface
$twig Twig_Environment
$optionsParser Sylius\Bundle\ResourceBundle\Grid\Parser\OptionsParserInterface