public static function define($name, $attrs, $options = null)
    {
        self::$_factories[$name] = $attrs;
        self::$_options[$name]   = $options;
    }
public static function define($name, $attrs, $options = null)
    {
        self::$_factories[$name] = $attrs;
        self::$_options[$name]   = $options;
    }
public static function define ( $ name , $ attrs , $ options = null ) { self :: $ _factories [ $ name ] = $ attrs ; self :: $ _options [ $ name ] = $ options ; }
Define a factory

@param string $name    factory name
@param mixed  $attrs   attributes
@param mixed  $options options to use

@return null
Define a factory