Documentation

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

$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
$file :
Return values
array<string|int, mixed>|mixed

fromString()

public static fromString( $string) : array<string|int, mixed>
Parameters
$string :
Return values
array<string|int, mixed>

initialize()

public initialize() : mixed
Return values
mixed

setCachePath()

public setCachePath( $path) : mixed
Parameters
$path :
Return values
mixed

toFile()

public toFile( $file,  $array) : int
Parameters
$file :
$array :
Return values
int

toYAML()

public toYAML( $array) : string
Parameters
$array :
Return values
string

cache_file()

protected cache_file( $file,  $cachedfile[, null $filemtime = null ]) : bool
Parameters
$file :
$cachedfile :
$filemtime : null = null
Return values
bool

get_cached_file()

protected get_cached_file( $file) : bool|string
Parameters
$file :
Return values
bool|string

Search results