FluidTYPO3\Vhs\ViewHelpers\Variable\PregMatchViewHelper::initializeArguments PHP Method

initializeArguments() public method

public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        $this->registerAsArgument();
        $this->registerArgument('pattern', 'mixed', 'Regex pattern to match against', true);
        $this->registerArgument('subject', 'mixed', 'String to match with the regex pattern', true);
        $this->registerArgument('global', 'boolean', 'Match global', false, false);
    }