183 if ($this->
count() > 0)
185 $content = \var_export($this->options,
true);
186 $content = \preg_replace(
"/^[ ]{6}(.*)/m",
"\t\t\t$1", $content);
187 $content = \preg_replace(
"/^[ ]{4}(.*)/m",
"\t\t$1", $content);
188 $content = \preg_replace(
"/^[ ]{2}(.*)/m",
"\t$1", $content);
189 $content = \str_replace([
"\r\n",
"\r"], [
"\n",
''], $content);
193 function ($severity, $message, $file, $line)
195 throw new \ErrorException($message, $severity, $severity, $file, $line);
203 if (parent::putContents(
"<".
"?php\nreturn ". $content.
"\n?".
'>') ===
false)
215 catch (\ErrorException $exception)
217 \restore_error_handler();
221 \restore_error_handler();