Enables or disable the compatibility mode.
bool $enabled: Whether to enable the mode.
EntityNG::compatibilityMode
public function setCompatibilityMode($enabled) {
$this->compatibilityMode = (bool) $enabled;
if ($enabled) {
$this
->updateOriginalValues();
$this->fields = array();
}
}