/**
  * @throws \InvalidArgumentException
  * @param string options's file to parse
  * @return GeneratorOptions
  */
 public static function instance($filename = null)
 {
     return parent::instance(empty($filename) ? self::getDefaultConfigurationPath() : $filename);
 }
Example #2
0
 /**
  * @param string options's file to parse
  * @return XsdTypes
  */
 public static function instance($filename = null)
 {
     return parent::instance(empty($filename) ? dirname(__FILE__) . '/../resources/config/xsd_types.yml' : $filename);
 }
 /**
  * @throws \InvalidArgumentException
  * @param string options's file to parse
  * @return AbstractReservedWord
  */
 public static function instance($filename = null)
 {
     return parent::instance($filename);
 }