Skip to content

Commit

Permalink
Making schema() a getter &setter in TableSchemaInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Jun 27, 2016
1 parent b0fe0b7 commit 9976403
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Datasource/TableSchemaInterface.php
Expand Up @@ -20,9 +20,10 @@
interface TableSchemaInterface
{
/**
* Get the schema for this fixture.
* Get and set the schema for this fixture.
*
* @param array|\Cake\Database\Schema\Table|null $schema The table to set.
* @return array|\Cake\Database\Schema\Table|null
*/
public function schema();
public function schema($schema = null);
}

0 comments on commit 9976403

Please sign in to comment.