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

Author: Grzegorz Sadowski ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode 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 méthode

it_is_initializable() public méthode

public it_is_initializable ( )

it_throws_an_exception_if_template_is_not_configured_for_given_action_type() public méthode

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 méthode

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 méthode

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