/** * Enable strict mode for development purposes. While in this mode, extra checks will be done * that may throw sfProgrammerExceptions. These checks may unnecessarily bog down runtime * speed during practical deployment, so leaving strict mode off can be useful. */ public static function enableStrictMode() { self::$strict = true; }