public static function func(
            $returnsReference,
            $name,
            array $parameterExpressions
    ) {
        return new self(
                self::TYPE_FUNCTION,
                $returnsReference,
                null,
                null,
                null,
                $name,
                $parameterExpressions,
                null);
    }
public static function func(
            $returnsReference,
            $name,
            array $parameterExpressions
    ) {
        return new self(
                self::TYPE_FUNCTION,
                $returnsReference,
                null,
                null,
                null,
                $name,
                $parameterExpressions,
                null);
    }
public static function func ( $ returnsReference , $ name , array $ parameterExpressions ) { return new self ( self :: TYPE_FUNCTION , $ returnsReference , null , null , null , $ name , $ parameterExpressions , null ) ; }
Creates a function signature with the supplied parameters.

@param boolean                 $returnsReference
@param string                  $name
@param O\ParameterExpression[] $parameterExpressions

@return self
Creates a function signature with the supplied parameters .