This interface defines the methods you can depend on in a connection.
Describes the methods that any class representing a data storage should comply with.
Defines the interface that testing fixtures use.
Describes the methods that any class representing a data storage should comply with.
The basis for every query object
Describes the methods that any class representing a data storage should comply with.
Describes how a collection of datasource results should look like
An interface used by TableSchema objects.
Manages and loads instances of Connection
Provides an interface to loading and creating connection objects. Acts as a registry for the connections defined in an application.
Provides an interface for loading and enumerating connections defined in config/app.php
A registry object for connection instances.
Class FactoryLocator
Handles caching queries and loading results from the cache.
Generic ResultSet decorator. This will make any traversable object appear to be a database result
Contains logic for invoking an application rule.
Combined with {@link \Cake\Datasource\RulesChecker} as an implementation detail to de-duplicate rule decoration and provide cleaner separation of duties.
Contains logic for storing and checking rules on entities
RulesCheckers are used by Table classes to ensure that the current entity state satisfies the application logic and business rules.
RulesCheckers afford different rules to be applied in the create and update scenario.
Rules must be callable objects that return true/false depending on whether the rule has been satisfied. You can use RulesChecker::add(), RulesChecker::addCreate(), RulesChecker::addUpdate() and RulesChecker::addDelete to add rules to a checker.
Generally a Table object will invoke the rules objects, but you can manually invoke the checks by calling RulesChecker::checkCreate(), RulesChecker::checkUpdate() or RulesChecker::checkDelete().
Provides functionality for loading table classes and other repositories onto properties of the host object.
Example users of this trait are {@link \Cake\Controller\Controller} and {@link \Cake\Command\Command}.
A trait that allows a class to build and apply application. rules.
If the implementing class also implements EventAwareTrait, then events will be emitted when rules are checked.
The implementing class is expected to define the RULES_CLASS constant
if they need to customize which class is used for rules objects.