Dot notation defines an array path, by separating nested levels with
Would point to the following value:
[ 'Cache' => [ 'default' => [ 'engine' => 'File' ] ] ]
An array of key => values that are composed into HTML attributes. For example:
// Given ['class' => 'my-class', 'target' => '_blank'] // Would generate class="my-class" target="_blank"
If an option can be minimized or accepts its name as the value, then
can be used:
// Given ['checked' => true] // Would generate checked="checked"
Plugin syntax refers to the dot separated class name indicating classes are part of a plugin:
// The plugin is "DebugKit", and the class name is "Toolbar". 'DebugKit.Toolbar' // The plugin is "AcmeCorp/Tools", and the class name is "Toolbar". 'AcmeCorp/Tools.Toolbar'
configdirectory that contains routing configuration. This file is included before each request is processed. It should connect all the routes your application needs so requests can be routed to the correct controller + action.
An array of attributes that are passed to
They typically look like:
['controller' => 'Posts', 'action' => 'view', 5]