Exemplo n.º 1
0
 /**
  * Define common loop arguments
  *
  * @return Argument[]
  */
 protected function getDefaultArgs()
 {
     $args = parent::getDefaultArgs();
     $args[] = Argument::createAnyTypeArgument('lang');
     return $args;
 }
Exemplo n.º 2
0
 /**
  * Get the loop name
  *
  * @return null|string
  */
 public function getLoopName()
 {
     return $this->loop->getLoopName();
 }