Phalcon\Logger\Adapter\Database::close PHP Méthode

close() public méthode

public close ( ) : boolean
Résultat boolean
    public function close()
    {
        if ($this->db->isUnderTransaction()) {
            $this->db->commit();
        }
        $this->db->close();
        return true;
    }