W3cubDocs

/CakePHP 4.1

Interface TableSchemaAwareInterface

Defines the interface for getting the schema.

Method Summary

Method Detail

getTableSchema() public

getTableSchema()

Get and set the schema for this fixture.

Returns

\Cake\Database\Schema\TableSchemaInterface&\Cake\Database\Schema\SqlGeneratorInterface

setTableSchema() public

setTableSchema(mixed $schema)

Get and set the schema for this fixture.

Parameters

\Cake\Database\Schema\TableSchemaInterface&\Cake\Database\Schema\SqlGeneratorInterface $schema

The table to set.

Returns

$this

© 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/4.1/interface-Cake.Database.Schema.TableSchemaAwareInterface.html