W3cubDocs

/CakePHP 3.4

Interface TableSchemaInterface

Defines the interface for getting the schema.

Direct Implementers

Method Summary

  • schema() public
    Get and set the schema for this fixture.

Method Detail

schema()source public

schema( Cake\Database\Schema\TableSchema $schema null )

Get and set the schema for this fixture.

Parameters

Cake\Database\Schema\TableSchema $schema optional null
The table to set.

Returns

Cake\Database\Schema\TableSchema|null

© 2005–2017 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.
https://api.cakephp.org/3.4/class-Cake.Datasource.TableSchemaInterface.html