Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function __call($method, $argv)
 {
     $block = $this->plugin('viewModel')->getCurrent();
     if (method_exists($block, $method)) {
         return call_user_func_array([$block, $method], $argv);
     }
     return parent::__call($method, $argv);
 }