W3cubDocs

/CakePHP 3.8

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

Magic methods summary

getTableSchema()source public

getTableSchema( )

Returns

Cake\Database\Schema\TableSchema|null

© 2005–present 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.8/class-Cake.Datasource.TableSchemaInterface.html