framework/web/DbSession.php
public function destroySession($id)
    {
        $this->db->createCommand()
            ->delete($this->sessionTable, ['id' => $id])
            ->execute();

        return true;
    }
public function destroySession($id)
    {
        $this->db->createCommand()
            ->delete($this->sessionTable, ['id' => $id])
            ->execute();

        return true;
    }
public function destroySession ( $ id ) { $ this -> db -> createCommand ( ) -> delete ( $ this -> sessionTable , [ 'id' => $ id ] ) -> execute ( ) ; return true ; }
Session destroy handler.
@internal Do not call this method directly.
@param string $id session ID
@return bool whether session is destroyed successfully
Session destroy handler .