lithium\data\Connections::remove PHP Method

remove() public static method

Removing a configuration.
public static remove ( string $name )
$name string The name by which this connection is referenced.
    public static function remove($name)
    {
        unset(static::$_configurations[$name]);
    }

Usage Example

Example #1
0
 public function tearDown()
 {
     Connections::remove('mockconn');
     MockQueryPost::reset();
     MockQueryComment::reset();
     MockGallery::reset();
     MockImage::reset();
     MockImageTag::reset();
     MockTag::reset();
 }
All Usage Examples Of lithium\data\Connections::remove