NoHttpRequestDirection.php 432 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. namespace Yansongda\Artful\Direction;
  4. use Psr\Http\Message\ResponseInterface;
  5. use Yansongda\Artful\Contract\DirectionInterface;
  6. use Yansongda\Artful\Contract\PackerInterface;
  7. class NoHttpRequestDirection implements DirectionInterface
  8. {
  9. public function guide(PackerInterface $packer, ?ResponseInterface $response, array $params = []): ?ResponseInterface
  10. {
  11. return $response;
  12. }
  13. }