close() public method

Returns false if no connection is present.
public close ( ) : boolean
return boolean
コード例 #1
0
ファイル: Adldap.php プロジェクト: kichetof/Adldap2
 /**
  * {@inheritdoc}
  */
 public function __destruct()
 {
     if ($this->connection instanceof ConnectionInterface) {
         $this->connection->close();
     }
 }