public function delete()
    {
        if ($this->exists && $deleted = $this->service->delete($this->getId())) {
            $this->setAttributes($deleted->toArray());
            return !$this->exists = false;
        }
        return false;
    }
public function delete()
    {
        if ($this->exists && $deleted = $this->service->delete($this->getId())) {
            $this->setAttributes($deleted->toArray());
            return !$this->exists = false;
        }
        return false;
    }
public function delete ( ) { if ( $ this -> exists && $ deleted = $ this -> service -> delete ( $ this -> getId ( ) ) ) { $ this -> setAttributes ( $ deleted -> toArray ( ) ) ; return ! $ this -> exists = false ; } return false ; }
Deletes the resource from Flow

@return bool
Deletes the resource from Flow