/** * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('to', 'integer', 'Number that the index needs to reach before stopping', TRUE); $this->registerArgument('from', 'integer', 'Starting number for the index', FALSE, 0); $this->registerArgument('step', 'integer', 'Stepping number that the index is increased by after each loop', FALSE, 1); }
/** * Initialize * * @return void */ public function initializeArguments() { parent::initializeArguments(); $this->registerArgument('count', 'integer', 'Number of times to render child content', TRUE); $this->registerArgument('minimum', 'integer', 'Minimum number of loops before stopping', FALSE, 0); $this->registerArgument('maximum', 'integer', 'Maxiumum number of loops before stopping', FALSE, PHP_INT_MAX); }