src/Model.php
function delete()
    {

        if (!$this->exists()) {
            return false;
        }

        $this->newQuery()->id($this->getID())->delete();

        $this->exists = false;

        return $this;
    }
function delete()
    {

        if (!$this->exists()) {
            return false;
        }

        $this->newQuery()->id($this->getID())->delete();

        $this->exists = false;

        return $this;
    }
function delete ( ) { if ( ! $ this -> exists ( ) ) { return false ; } $ this -> newQuery ( ) -> id ( $ this -> getID ( ) ) -> delete ( ) ; $ this -> exists = false ; return $ this ; }
Delete model record
@return $this|bool
Delete model record