Upgrade to Laravel 9

This commit is contained in:
Will Browning
2022-07-07 08:44:47 +01:00
parent 831fc862d0
commit 43e094ac93
92 changed files with 3001 additions and 3272 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\CustomMailDriver\Mime\Encoder;
use Symfony\Component\Mime\Encoder\ContentEncoderInterface;
final class RawContentEncoder implements ContentEncoderInterface
{
public function encodeByteStream($stream, int $maxLineLength = 0): iterable
{
while (!feof($stream)) {
yield fread($stream, 8192);
}
}
public function getName(): string
{
return 'raw';
}
public function encodeString(string $string, ?string $charset = 'utf-8', int $firstLineOffset = 0, int $maxLineLength = 0): string
{
return $string;
}
}