class StructReservedMethod extends AbstractReservedWord (View source)

Constants

MAIN_KEY

CASE_SENSITIVE_KEY

CASE_INSENSITIVE_KEY

Properties

static protected AbstractYamlReader[] $instances from AbstractYamlReader
protected string $filename Path to file to parse from AbstractYamlReader
protected array $keywords List of PHP reserved keywords from config file from AbstractReservedWord

Methods

__construct(string $filename)

No description

mixed
loadYaml(string $filename)

No description

instance(string $filename = null)

No description

array
parseSimpleArray(string $filename, string $mainKey)

No description

static 
resetInstances()

For tests purpose only!

parseReservedKeywords(string $filename)

No description

bool
is(string $keyword)

No description

static string
getDefaultConfigurationPath()

No description

Details

protected __construct(string $filename)

Parameters

string $filename options's file to parse

protected mixed loadYaml(string $filename)

Parameters

string $filename

Return Value

mixed

static AbstractYamlReader instance(string $filename = null)

Parameters

string $filename options's file to parse

Return Value

AbstractYamlReader

Exceptions

InvalidArgumentException

protected array parseSimpleArray(string $filename, string $mainKey)

Parameters

string $filename
string $mainKey

Return Value

array

Exceptions

InvalidArgumentException

static resetInstances()

For tests purpose only!

protected AbstractReservedWord parseReservedKeywords(string $filename)

Parameters

string $filename

Return Value

AbstractReservedWord

bool is(string $keyword)

Parameters

string $keyword

Return Value

bool

static string getDefaultConfigurationPath()

Return Value

string