public function getNewStore(\PhalconRest\API\BaseModel $model): \PhalconRest\Rules\Store
    {
        $newStore = new \PhalconRest\Rules\Store($model);
        //force store to match registry enforcement setting
        if ($this->enforceRules) {
            $newStore->enable();
        } else {
            $newStore->disable();
        }
        return $newStore;
    }