PHP Class Cascade\Tests\Fixtures

Show file Open project: theorchard/monolog-cascade Class Usage Examples

Public Methods

Method Description
fixtureDir ( ) : string Return the fixture directory
getInvalidFile ( ) : string Return a path to a non existing file
getJsonConfigFile ( ) : string Return the fixture JSON config file
getPhpArrayConfig ( ) : array Return a config array
getSampleJsonFile ( ) : string Return the fixture sample JSON file
getSampleJsonString ( ) : string Return the fixture sample JSON string
getSamplePhpArray ( ) : array Return a sample array
getSampleString ( ) : string Return a sample string
getSampleYamlFile ( ) : string Return the fixture sample Yaml file
getSampleYamlString ( ) : string Return the fixture sample Yaml string
getYamlConfigFile ( ) : string Return the fixture Yaml config file

Method Details

fixtureDir() public static method

Return the fixture directory
public static fixtureDir ( ) : string
return string Fixture directory

getInvalidFile() public static method

Return a path to a non existing file
public static getInvalidFile ( ) : string
return string Wrong file path

getJsonConfigFile() public static method

Return the fixture JSON config file
public static getJsonConfigFile ( ) : string
return string Path to JSON config file

getPhpArrayConfig() public static method

Return a config array
public static getPhpArrayConfig ( ) : array
return array Config array

getSampleJsonFile() public static method

Return the fixture sample JSON file
public static getSampleJsonFile ( ) : string
return string Path to a sample JSON file

getSampleJsonString() public static method

Return the fixture sample JSON string
public static getSampleJsonString ( ) : string
return string Sample JSON string

getSamplePhpArray() public static method

Return a sample array
public static getSamplePhpArray ( ) : array
return array Sample array

getSampleString() public static method

Return a sample string
public static getSampleString ( ) : string
return string Sample string

getSampleYamlFile() public static method

Return the fixture sample Yaml file
public static getSampleYamlFile ( ) : string
return string Path to a sample yaml file

getSampleYamlString() public static method

Return the fixture sample Yaml string
public static getSampleYamlString ( ) : string
return string Sample yaml string

getYamlConfigFile() public static method

Return the fixture Yaml config file
public static getYamlConfigFile ( ) : string
return string Path to yaml config file