YAML
extends Helper
in package
Class YAML
Table of Contents
- $app : App
- $cachePath : mixed
- __call() : mixed
- __construct() : mixed
- __get() : mixed
- __invoke() : mixed
- fromFile() : array<string|int, mixed>|mixed
- fromString() : array<string|int, mixed>
- initialize() : mixed
- setCachePath() : mixed
- toFile() : int
- toYAML() : string
- cache_file() : bool
- get_cached_file() : bool|string
Properties
$app
public
App
$app
$cachePath
protected
mixed
$cachePath
= false
Methods
__call()
public
__call(mixed $name, mixed $arguments) : mixed
Parameters
- $name : mixed
- $arguments : mixed
Return values
mixed —__construct()
public
__construct(mixed $app) : mixed
Parameters
- $app : mixed
Return values
mixed —__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —__invoke()
public
__invoke(mixed $helper) : mixed
Parameters
- $helper : mixed
Return values
mixed —fromFile()
public
fromFile( $file) : array<string|int, mixed>|mixed
Parameters
Return values
array<string|int, mixed>|mixed —fromString()
public
static fromString( $string) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —initialize()
public
initialize() : mixed
Return values
mixed —setCachePath()
public
setCachePath( $path) : mixed
Parameters
Return values
mixed —toFile()
public
toFile( $file, $array) : int
Parameters
Return values
int —toYAML()
public
toYAML( $array) : string
Parameters
Return values
string —cache_file()
protected
cache_file( $file, $cachedfile[, null $filemtime = null ]) : bool
Parameters
Return values
bool —get_cached_file()
protected
get_cached_file( $file) : bool|string