Extends the schema collection class to provide caching
Cake\Database\Schema\CachedCollection __construct( Cake\Datasource\ConnectionInterface $connection , string|boolean $cacheKey true )
Constructor.
Cake\Datasource\ConnectionInterface $connection $cacheKey optional true Cake\Database\Schema\Collection::__construct() cacheKey( string $name )
Get the cache key for a given name.
$name stringcacheMetadata( boolean $enable null )
Sets the cache config name to use for caching table metadata, or disables it if false is passed. If called with no arguments it returns the current configuration name.
$enable optional null string|booleandescribe( string $name , array $options [] )
Get the column metadata for a table.
$name $options optional [] Cake\Database\Schema\TableCake\Database\ExceptionCake\Database\Schema\Collection::describe() _reflect( string $stage , string $name , array $config , Cake\Database\Schema\Table $table )
Helper method for running each step of the reflection process.
$stage $name $config Cake\Database\Schema\Table $table Cake\Database\ExceptionlistTables( )
Get the list of tables available in the current connection.
array
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/3.1/class-Cake.Database.Schema.CachedCollection.html