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;
    }
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;
    }
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 ; }
construct a new Store object configured for enforcement

@param $model
@return Store
construct a new Store object configured for enforcement