Doctrine\OrientDB\Binding\BindingInterface::getDatabaseName PHP Method

getDatabaseName() public method

Returns the name of the database the binding is currently using.
public getDatabaseName ( ) : string
return string
    public function getDatabaseName();

Usage Example

Beispiel #1
0
 public function __construct(BindingInterface $binding, Cache $cache)
 {
     $this->binding = $binding;
     $this->cache = $cache;
     $this->databaseName = $binding->getDatabaseName();
 }