FluidTYPO3\Vhs\ViewHelpers\Format\PregReplaceViewHelper::initializeArguments PHP Method

initializeArguments() public method

public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        $this->registerAsArgument();
        $this->registerArgument('pattern', 'string', 'Regex pattern to match against', true);
        $this->registerArgument('subject', 'string', 'String to match with the regex pattern or patterns');
        $this->registerArgument('replacement', 'string', 'String to replace matches with', true);
    }