public function read(string $path): string
{
$location = $this->prefixer->prefixPath($path);
error_clear_last();
$contents = @file_get_contents($location);
if ($contents === false) {
throw UnableToReadFile::fromLocation($path, error_get_last()['message'] ?? '');
}
FatalError
|
---|
Symfony\Component\ErrorHandler\Error\FatalError: Allowed memory size of 134217728 bytes exhausted (tried to allocate 435090400 bytes) at /val/www/si.sistory.sidih/vendor/league/flysystem-local/LocalFilesystemAdapter.php:274 |