getDatabaseName() public method

Returns the name of the database the binding is currently using.
public getDatabaseName ( ) : string
return string
示例#1
0
 public function __construct(BindingInterface $binding, Cache $cache)
 {
     $this->binding = $binding;
     $this->cache = $cache;
     $this->databaseName = $binding->getDatabaseName();
 }