Interface
          ConstraintsInterface
              
      
  Defines the interface for a fixture that needs to manage constraints.
Method Summary
- 
          createConstraints() publicBuild and execute SQL queries necessary to create the constraints for the fixture 
- 
          dropConstraints() publicBuild and execute SQL queries necessary to drop the constraints for the fixture 
Method Detail
createConstraints() ¶ public
createConstraints(Cake\Datasource\ConnectionInterface $connection): boolBuild and execute SQL queries necessary to create the constraints for the fixture
Parameters
- 
                Cake\Datasource\ConnectionInterface$connection
- An instance of the database into which the constraints will be created. 
Returns
boolon success or if there are no constraints to create, or false on failure
dropConstraints() ¶ public
dropConstraints(Cake\Datasource\ConnectionInterface $connection): boolBuild and execute SQL queries necessary to drop the constraints for the fixture
Parameters
- 
                Cake\Datasource\ConnectionInterface$connection
- An instance of the database into which the constraints will be dropped. 
Returns
boolon success or if there are no constraints to drop, or false on failure
