public function getDefinition() { $definition = parent::getDefinition(); if ($this->shortcut) { $definition->setArguments(); } return $definition; }