Inheritance: extends StructReservedMethod
 /**
  * @return StructArrayReservedMethod
  */
 public static function instance()
 {
     return StructArrayReservedMethod::instance(__DIR__ . '/../resources/struct_array_reserved_keywords.yml');
 }
Beispiel #2
0
 /**
  * @param $filename
  * @return StructReservedMethod|StructArrayReservedMethod
  */
 public function getReservedMethodsInstance($filename = null)
 {
     $instance = StructReservedMethod::instance($filename);
     if ($this->isArray()) {
         $instance = StructArrayReservedMethod::instance($filename);
     }
     return $instance;
 }