food_server/vendor/yansongda/artful/src/Direction/NoHttpRequestDirection.php

18 lines
432 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace Yansongda\Artful\Direction;
use Psr\Http\Message\ResponseInterface;
use Yansongda\Artful\Contract\DirectionInterface;
use Yansongda\Artful\Contract\PackerInterface;
class NoHttpRequestDirection implements DirectionInterface
{
public function guide(PackerInterface $packer, ?ResponseInterface $response, array $params = []): ?ResponseInterface
{
return $response;
}
}