Entities/Permissions/Model/Permission.php
public function isDeletable(): bool
    {
        if (in_array($this->title, self::UNDELETABLE)) {
            return false;
        }
        return (PermissionsTableMapper::getInstance())->isDeletable();
    }
public function isDeletable(): bool
    {
        if (in_array($this->title, self::UNDELETABLE)) {
            return false;
        }
        return (PermissionsTableMapper::getInstance())->isDeletable();
    }
public function isDeletable ( ) : bool { if ( in_array ( $ this -> title , self :: UNDELETABLE ) ) { return false ; } return ( PermissionsTableMapper :: getInstance ( ) ) -> isDeletable ( ) ; }
whether this model is allowed to be deleted
whether this model is allowed to be deleted