public static function DbServerHandlerFactory::cast in DB Maintenance 7.2
Same name and namespace in other branches
- 8 src/Module/Db/DbServer/DbServerHandlerFactory.php \Drupal\db_maintenance\Module\Db\DbServer\DbServerHandlerFactory::cast()
- 2.0.x src/Module/Db/DbServer/DbServerHandlerFactory.php \Drupal\db_maintenance\Module\Db\DbServer\DbServerHandlerFactory::cast()
Returns typed $handler as DbServerHandlerInterface.
1 call to DbServerHandlerFactory::cast()
- DbServerHandlerFactory::getDbServerHandler in src/
Module/ Db/ DbServer/ DbServerHandlerFactory.php - Returns proper DbServerHandler.
File
- src/
Module/ Db/ DbServer/ DbServerHandlerFactory.php, line 40 - DbServerHandlerFactory class.
Class
- DbServerHandlerFactory
- DbServerHandlerFactory class.
Namespace
Drupal\db_maintenance\Module\Db\DbServerCode
public static function cast(DbServerHandlerInterface &$object = NULL) {
return $object;
}