public getReservedMethodsInstance ( $filename = null ) : |
||
$filename | ||
return |
public function getReservedMethodsInstance($filename = null)
{
$instance = StructReservedMethod::instance($filename);
if ($this->isArray()) {
$instance = StructArrayReservedMethod::instance($filename);
}
return $instance;
}