Skip to content

Commit

Permalink
fix: deprecate url generator interface namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Sep 2, 2024
1 parent 1d85b17 commit aa991af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Api/UrlGeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
* @author Fabien Potencier <fabien@symfony.com>
* @author Tobias Schultze <http://tobion.de>
* @copyright Fabien Potencier
*
* @deprecated moved to ApiPlatform\Metadata\UrlGeneratorInterface
*/
interface UrlGeneratorInterface
{
Expand Down
1 change: 1 addition & 0 deletions src/deprecation.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
ApiPlatform\Action\NotFoundAction::class => ApiPlatform\Symfony\Action\NotFoundAction::class,
ApiPlatform\Action\PlaceholderAction::class => ApiPlatform\Symfony\Action\PlaceholderAction::class,
ApiPlatform\Api\Entrypoint::class => ApiPlatform\Documentation\Entrypoint::class,
ApiPlatform\Api\UrlGeneratorInterface::class => ApiPlatform\Metadata\UrlGeneratorInterface::class,
ApiPlatform\Exception\ExceptionInterface::class => ApiPlatform\Metadata\Exception\ExceptionInterface::class,
ApiPlatform\Exception\InvalidArgumentException::class => ApiPlatform\Metadata\Exception\InvalidArgumentException::class,
ApiPlatform\Exception\InvalidIdentifierException::class => ApiPlatform\Metadata\Exception\InvalidIdentifierException::class,
Expand Down

0 comments on commit aa991af

Please sign in to comment.