1 | <?php |
||
2 | |||
3 | /* |
||
4 | * This file is part of the API Platform project. |
||
5 | * |
||
6 | * (c) Kévin Dunglas <[email protected]> |
||
7 | * |
||
8 | * For the full copyright and license information, please view the LICENSE |
||
9 | * file that was distributed with this source code. |
||
10 | */ |
||
11 | |||
12 | declare(strict_types=1); |
||
13 | |||
14 | namespace ApiPlatform\Core\Api; |
||
15 | |||
16 | /** |
||
17 | * Extracts formats for a given operation according to the retrieved Metadata. |
||
18 | * |
||
19 | * @author Anthony GRASSIOT <[email protected]> |
||
20 | * |
||
21 | * @deprecated since API Platform 2.5, use the "formats" attribute instead |
||
22 | */ |
||
23 | interface OperationAwareFormatsProviderInterface extends FormatsProviderInterface |
||
0 ignored issues
–
show
|
|||
24 | { |
||
25 | /** |
||
26 | * Finds formats for an operation. |
||
27 | */ |
||
28 | public function getFormatsFromOperation(string $resourceClass, string $operationName, string $operationType): array; |
||
29 | } |
||
30 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.