Dashboard sipadu mbip
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ContentEncoderInterface.php 695B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Mime\Encoder;
  11. /**
  12. * @author Chris Corbyn
  13. *
  14. * @experimental in 4.3
  15. */
  16. interface ContentEncoderInterface extends EncoderInterface
  17. {
  18. /**
  19. * Encodes the stream to a Generator.
  20. *
  21. * @param resource $stream
  22. */
  23. public function encodeByteStream($stream, int $maxLineLength = 0): iterable;
  24. /**
  25. * Gets the MIME name of this content encoding scheme.
  26. */
  27. public function getName(): string;
  28. }