Exemplo n.º 1
0
 /**
  * @expectedException \Lug\Component\Grid\Exception\OptionNotFoundException
  * @expectedExceptionMessage The filter option "bar" could not be found.
  */
 public function testMissingOption()
 {
     $this->filter->getOption('bar');
 }
Exemplo n.º 2
0
 /**
  * @param string  $name
  * @param string  $label
  * @param string  $type
  * @param string  $form
  * @param mixed[] $formOptions
  * @param mixed[] $options
  */
 public function __construct($name, $label, $type, $form, array $formOptions = [], array $options = [])
 {
     parent::__construct($name, $label, $type, $options);
     $this->form = $form;
     $this->formOptions = $formOptions;
 }