public function delete(AbstractModel $model)
    {
        $array = $model->toArrayCurrent();

        if (empty($array)) {
            throw new \Exception('Error : delete used an empty model');
        }

        return $this->tableGateway->delete($array);
    }
public function delete(AbstractModel $model)
    {
        $array = $model->toArrayCurrent();

        if (empty($array)) {
            throw new \Exception('Error : delete used an empty model');
        }

        return $this->tableGateway->delete($array);
    }
public function delete ( AbstractModel $ model ) { $ array = $ model -> toArrayCurrent ( ) ; if ( empty ( $ array ) ) { throw new \ Exception ( 'Error : delete used an empty model' ) ; } return $ this -> tableGateway -> delete ( $ array ) ; }
Delete full modele.

@param \Dal\Model\AbstractModel $model

@return bool
Delete full modele .