Phan\Language\Type\CallableType::callableInstance PHP Method

callableInstance() private static method

Same as instance(), but guaranteed not to have memoized state.
private static callableInstance ( ) : CallableType
return CallableType
    private static function callableInstance() : CallableType
    {
        static $instance = null;
        if (empty($instance)) {
            $instance = self::make('\\', static::NAME, []);
        }
        return $instance;
    }