Inheritance: extends AbstractReservedWord
コード例 #1
0
 /**
  * @return StructReservedMethod
  */
 public static function instance()
 {
     return StructReservedMethod::instance(__DIR__ . '/../resources/struct_reserved_keywords.yml');
 }
コード例 #2
0
ファイル: Struct.php プロジェクト: wsdltophp/packagegenerator
 /**
  * @param $filename
  * @return StructReservedMethod|StructArrayReservedMethod
  */
 public function getReservedMethodsInstance($filename = null)
 {
     $instance = StructReservedMethod::instance($filename);
     if ($this->isArray()) {
         $instance = StructArrayReservedMethod::instance($filename);
     }
     return $instance;
 }