Example #1
0
 /**
  * @return null
  */
 protected function flushConstantWithScopeAndName(string $scope, string $name)
 {
     // Remove it from the database
     if (Database::isEnabled()) {
         ConstantModel::delete(Database::get(), $scope . '|' . $name);
     }
     // Remove it from memory
     unset($this->constant_map[$scope][$name]);
 }