for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WsdlToPhp\PackageGenerator\ConfigurationReader;
class StructArrayReservedMethod extends StructReservedMethod
{
/**
* @param string $filename
*/
protected function __construct($filename)
parent::__construct($filename);
$this->parseReservedKeywords(parent::getDefaultConfigurationPath());
}
* @throws \InvalidArgumentException
* @param string options's file to parse
* @return StructArrayReservedMethod
public static function instance($filename = null)
return parent::instance(empty($filename) ? self::getDefaultArrayConfigurationPath() : $filename);
* @return string
public static function getDefaultArrayConfigurationPath()
return dirname(__FILE__) . '/../resources/config/struct_array_reserved_keywords.yml';