$strict_mode
$strict_mode :
Nano4 Configuration Object
Container portions based on Pimple https://github.com/fabpot/Pimple/
It's now based on the Data Objects framework, and extends the Arrayish base class.
It can load JSON, YAML, INI, nested subdirectories, and ConfServ URLs. It supports on-demand autoloading, and 'scan directory' autoloading.
share(\Nano4\Plugins\Closure $callable) : \Nano4\Plugins\Closure
Returns a closure that stores the result of the closure for uniqueness in the scope of the Conf object.
| \Nano4\Plugins\Closure | $callable | A closure to wrap for uniqueness. |
The wrapped closure.
protect(\Nano4\Plugins\Closure $callable) : \Nano4\Plugins\Closure
Protect a callable from being interpreted as a service.
This lets you store a callable as a parameter.
| \Nano4\Plugins\Closure | $callable | A closure to protect. |
The protected closure.
__construct_data( $mixed = Null, $opts = Null)
Internal constructor method.
Supports two forms, the original form has the data as the first parameter, and a set of options as the second.
The second form sends the options as the first parameter, with a named 'data' option to specify the data. In this case, the second parameter should be left off.
| $mixed | ||
| $opts |