code: public function setArguments(array $arguments)
      {
          if (count($arguments) === 3 && is_array($arguments[2])) {
              $options = $this->prepareOptions(array_pop($arguments));
              $arguments = array_merge($arguments, $options);
          }
  
          parent::setArguments($arguments);
      }
docs: {@inheritdoc}