original_string: public static function create($config = null)
      {
          if ($config === null) {
              return self::getStandard();
          }
          if (is_array($config) || ($config instanceof Config)) {
              return new Env($config);
          }
          if ($config instanceof Env) {
              return $config;
          }
          $message = 'Factory accepts Env, Config, array or NULL';
          throw new InvalidConfig('Env', $message, 0, null, __NAMESPACE__);
      }
code: public static function create($config = null)
      {
          if ($config === null) {
              return self::getStandard();
          }
          if (is_array($config) || ($config instanceof Config)) {
              return new Env($config);
          }
          if ($config instanceof Env) {
              return $config;
          }
          $message = 'Factory accepts Env, Config, array or NULL';
          throw new InvalidConfig('Env', $message, 0, null, __NAMESPACE__);
      }
code_tokens: public static function create ( $ config = null ) { if ( $ config === null ) { return self :: getStandard ( ) ; } if ( is_array ( $ config ) || ( $ config instanceof Config ) ) { return new Env ( $ config ) ; } if ( $ config instanceof Env ) { return $ config ; } $ message = 'Factory accepts Env, Config, array or NULL' ; throw new InvalidConfig ( 'Env' , $ message , 0 , null , __NAMESPACE__ ) ; }
docstring: Creates an environment wrapper
  
  @param \axy\env\Env|\axy\env\Config|array $config
  @return \axy\env\Env
  @throws \axy\errors\InvalidConfig
docstring_tokens: Creates an environment wrapper