Skip to content

Instantly share code, notes, and snippets.

@mdzwigala
Last active December 5, 2020 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdzwigala/03114ce08dd15e038e00fe0d78938efd to your computer and use it in GitHub Desktop.
Save mdzwigala/03114ce08dd15e038e00fe0d78938efd to your computer and use it in GitHub Desktop.
ADR-EXAMPLE\Infrastructure\InputFactory
<?php
declare(strict_types=1);
namespace App\Infrastructure\ParamConverter\InputFactory;
use Symfony\Component\HttpFoundation\Request;
interface InputFactory
{
public function createFromRequest(Request $request): object;
public static function supportedInput(): string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment