Interface TableSchemaAwareInterface
Defines the interface for getting the schema.
Namespace: Cake\Database\Schema
Method Summary
-
getTableSchema() public
Get and set the schema for this fixture.
-
setTableSchema() public
Get and set the schema for this fixture.
Method Detail
getTableSchema() ¶ public
getTableSchema(): Cake\Database\Schema\TableSchemaInterface&Cake\Database\Schema\SqlGeneratorInterface
Get and set the schema for this fixture.
Returns
Cake\Database\Schema\TableSchemaInterface&Cake\Database\Schema\SqlGeneratorInterface
setTableSchema() ¶ public
setTableSchema(Cake\Database\Schema\TableSchemaInterface&Cake\Database\Schema\SqlGeneratorInterface $schema): $this
Get and set the schema for this fixture.
Parameters
-
Cake\Database\Schema\TableSchemaInterface&Cake\Database\Schema\SqlGeneratorInterface
$schema The table to set.
Returns
$this