<?php file_get_contents( string $filename, bool $use_include_path = false, ?resource $context = null, int $offset = 0, ?int $length = null): string|false
<?php $options = []; if (file_exists($configFilePath)) { $content = (string)file_get_contents($configFilePath); $options = json_decode($content, true) ?? []; }
<?php { $assetPath = __DIR__."/../../resources/compiled/{$asset}"; return (string)file_get_contents($assetPath); }
<?php return false; } $file = (string)file_get_contents($throwable->getFile()); if (! str_contains($file, '=======')) { return false;
<?php public function getSolutions(Throwable $throwable): array { $file = (string)file_get_contents($throwable->getFile()); preg_match('/\>\>\>\>\>\>\> (.*?)\n/', $file, $matches); $source = $matches[1];