Neos\Flow\Persistence\Generic\Backend\BackendInterface::isConnected PHP Méthode

isConnected() public méthode

Returns TRUE, if an active connection to the persistence backend has been established, e.g. entities can be persisted.
public isConnected ( ) : boolean
Résultat boolean TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend
    public function isConnected();

Usage Example

Exemple #1
0
 /**
  * Returns TRUE, if an active connection to the persistence
  * backend has been established, e.g. entities can be persisted.
  *
  * @return boolean TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend
  * @api
  */
 public function isConnected()
 {
     return $this->backend->isConnected();
 }