src/Venturecraft/Revisionable/Revisionable.php
private function isSoftDelete()
    {
        // check flag variable used in laravel 4.2+
        if (isset($this->forceDeleting)) {
            return !$this->forceDeleting;
        }

        // otherwise, look for flag used in older versions
        if (isset($this->softDelete)) {
            return $this->softDelete;
        }

        return false;
    }
private function isSoftDelete()
    {
        // check flag variable used in laravel 4.2+
        if (isset($this->forceDeleting)) {
            return !$this->forceDeleting;
        }

        // otherwise, look for flag used in older versions
        if (isset($this->softDelete)) {
            return $this->softDelete;
        }

        return false;
    }
private function isSoftDelete ( ) { // check flag variable used in laravel 4.2+ if ( isset ( $ this -> forceDeleting ) ) { return ! $ this -> forceDeleting ; } // otherwise, look for flag used in older versions if ( isset ( $ this -> softDelete ) ) { return $ this -> softDelete ; } return false ; }
Check if soft deletes are currently enabled on this model

@return bool
Check if soft deletes are currently enabled on this model