public function initializeArguments() { $this->registerAsArgument(); $this->registerArgument('haystack', 'mixed', 'The input array/Traversable to reverse'); }