1: <?php
2: /**
3: * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4: * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5: *
6: * Licensed under The MIT License
7: * For full copyright and license information, please see the LICENSE.txt
8: * Redistributions of files must retain the above copyright notice.
9: *
10: * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11: * @link http://cakephp.org CakePHP(tm) Project
12: * @since 3.5.0
13: * @license http://www.opensource.org/licenses/mit-license.php MIT License
14: */
15: namespace Cake\Database\Schema;
16:
17: /**
18: * Defines the interface for getting the schema.
19: */
20: interface TableSchemaAwareInterface
21: {
22:
23: /**
24: * Get and set the schema for this fixture.
25: *
26: * @return \Cake\Database\Schema\TableSchemaInterface|null
27: */
28: public function getTableSchema();
29:
30: /**
31: * Get and set the schema for this fixture.
32: *
33: * @param \Cake\Database\Schema\TableSchemaInterface $schema The table to set.
34: * @return $this
35: */
36: public function setTableSchema(TableSchemaInterface $schema);
37: }
38: