/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Datasource
NameSizeModeActions
Exception/-0755rm
Locator/-0755rm
Paging/-0755rm
composer.json12840644editdlrm
ConnectionInterface.php51160644editdlrm
ConnectionManager.php70050644editdlrm
ConnectionRegistry.php32820644editdlrm
EntityInterface.php85290644editdlrm
EntityTrait.php349720644editdlrm
FactoryLocator.php32240644editdlrm
FixtureInterface.php24390644editdlrm
InvalidPropertyInterface.php20820644editdlrm
LICENSE.txt12040644editdlrm
ModelAwareTrait.php60730644editdlrm
Paginator.php2000644editdlrm
PaginatorInterface.php2130644editdlrm
QueryCacher.php38350644editdlrm
QueryInterface.php150040644editdlrm
QueryTrait.php194680644editdlrm
README.md34150644editdlrm
RepositoryInterface.php92620644editdlrm
ResultSetDecorator.php13730644editdlrm
ResultSetInterface.php8840644editdlrm
RuleInvoker.php37810644editdlrm
RulesAwareTrait.php41370644editdlrm
RulesChecker.php116350644editdlrm
SchemaInterface.php49240644editdlrm
SimplePaginator.php2040644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/Datasource/ConnectionInterface.php (5116B)
*/ public function config(): array; /** * Executes a callable function inside a transaction, if any exception occurs * while executing the passed callable, the transaction will be rolled back * If the result of the callable function is `false`, the transaction will * also be rolled back. Otherwise, the transaction is committed after executing * the callback. * * The callback will receive the connection instance as its first argument. * * ### Example: * * ``` * $connection->transactional(function ($connection) { * $connection->newQuery()->delete('users')->execute(); * }); * ``` * * @param callable $callback The callback to execute within a transaction. * @return mixed The return value of the callback. * @throws \Exception Will re-throw any exception raised in $callback after * rolling back the transaction. */ public function transactional(callable $callback); /** * Run an operation with constraints disabled. * * Constraints should be re-enabled after the callback succeeds/fails. * * ### Example: * * ``` * $connection->disableConstraints(function ($connection) { * $connection->newQuery()->delete('users')->execute(); * }); * ``` * * @param callable $callback The callback to execute within a transaction. * @return mixed The return value of the callback. * @throws \Exception Will re-throw any exception raised in $callback after * rolling back the transaction. */ public function disableConstraints(callable $callback); /** * Enable/disable query logging * * @param bool $enable Enable/disable query logging * @return $this */ public function enableQueryLogging(bool $enable = true); /** * Disable query logging * * @return $this */ public function disableQueryLogging(); /** * Check if query logging is enabled. * * @return bool */ public function isQueryLoggingEnabled(): bool; }