public function create($type,$seed = null)
    {
        $type = strtolower($type);
        
        # check extension list
        
        if(isset(self::$types[$type]) === true) {
            # assign platform the full namespace
            if(class_exists(self::$types[$type]) === false) {
                throw new ReverseRegexException('Unknown Generator at::'.$type);    
            }
            
            $type = self::$types[$type];
            
        } else {
            throw new ReverseRegexException('Unknown Generator at::'.$type);
        }
       
        return new $type($seed);
    }
public function create($type,$seed = null)
    {
        $type = strtolower($type);
        
        # check extension list
        
        if(isset(self::$types[$type]) === true) {
            # assign platform the full namespace
            if(class_exists(self::$types[$type]) === false) {
                throw new ReverseRegexException('Unknown Generator at::'.$type);    
            }
            
            $type = self::$types[$type];
            
        } else {
            throw new ReverseRegexException('Unknown Generator at::'.$type);
        }
       
        return new $type($seed);
    }
public function create ( $ type , $ seed = null ) { $ type = strtolower ( $ type ) ; # check extension list if ( isset ( self :: $ types [ $ type ] ) === true ) { # assign platform the full namespace if ( class_exists ( self :: $ types [ $ type ] ) === false ) { throw new ReverseRegexException ( 'Unknown Generator at::' . $ type ) ; } $ type = self :: $ types [ $ type ] ; } else { throw new ReverseRegexException ( 'Unknown Generator at::' . $ type ) ; } return new $ type ( $ seed ) ; }
Resolve a Dcotrine DataType Class

@param string the random generator type name
@access public
@return ReverseRegex\RandomInterface
@throws PHPStats\Exception
Resolve a Dcotrine DataType Class