Baum\Extensions\Eloquent\Model::softDeletesEnabled PHP Method

softDeletesEnabled() public static method

Static method which returns wether soft delete functionality is enabled on the model.
public static softDeletesEnabled ( ) : boolean
return boolean
    public static function softDeletesEnabled()
    {
        return with(new static())->areSoftDeletesEnabled();
    }