FluidTYPO3\Vhs\ViewHelpers\Iterator\PushViewHelper::initializeArguments PHP Method

initializeArguments() public method

public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        $this->registerAsArgument();
        $this->registerArgument('subject', 'mixed', 'Input to work on - Array/Traversable/...');
        $this->registerArgument('add', 'mixed', 'Member to add to end of array', true);
        $this->registerArgument('key', 'mixed', 'Optional key to use. If key exists the member will be overwritten!');
    }