private function createTagPositionFunction($name, array $options)
    {
        $options = array_merge($options, [
            'node_class' => 'Fxp\Component\RequireAsset\Twig\Node\TagPositionFunctionNode',
            'is_safe' => ['html'],
            'category' => null,
            'type' => null,
        ], $options);
        $callable = [$this, 'createTagPosition'];

        $tagPosition = new TwigFunction($name, $callable, $options);
        $tagPosition->setArguments([
            $options['category'],
            $options['type'],
        ]);

        return $tagPosition;
    }
private function createTagPositionFunction($name, array $options)
    {
        $options = array_merge($options, [
            'node_class' => 'Fxp\Component\RequireAsset\Twig\Node\TagPositionFunctionNode',
            'is_safe' => ['html'],
            'category' => null,
            'type' => null,
        ], $options);
        $callable = [$this, 'createTagPosition'];

        $tagPosition = new TwigFunction($name, $callable, $options);
        $tagPosition->setArguments([
            $options['category'],
            $options['type'],
        ]);

        return $tagPosition;
    }
private function createTagPositionFunction ( $ name , array $ options ) { $ options = array_merge ( $ options , [ 'node_class' => 'Fxp\Component\RequireAsset\Twig\Node\TagPositionFunctionNode' , 'is_safe' => [ 'html' ] , 'category' => null , 'type' => null , ] , $ options ) ; $ callable = [ $ this , 'createTagPosition' ] ; $ tagPosition = new TwigFunction ( $ name , $ callable , $ options ) ; $ tagPosition -> setArguments ( [ $ options [ 'category' ] , $ options [ 'type' ] , ] ) ; return $ tagPosition ; }
Create the tag position twig function.

@param string $name    The name of function
@param array  $options The options of function

@return TwigFunction
Create the tag position twig function .