Преглед изворни кода

[Routing] added missing public @api

Fabien Potencier пре 14 година
родитељ
комит
397fad3810

+ 2 - 0
src/Symfony/Component/Routing/Exception/ExceptionInterface.php

@@ -15,6 +15,8 @@ namespace Symfony\Component\Routing\Exception;
  * ExceptionInterface
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
+ *
+ * @api
  */
 interface ExceptionInterface
 {

+ 2 - 0
src/Symfony/Component/Routing/Exception/InvalidParameterException.php

@@ -15,6 +15,8 @@ namespace Symfony\Component\Routing\Exception;
  * Exception thrown when a parameter is not valid
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
+ *
+ * @api
  */
 class InvalidParameterException extends \InvalidArgumentException implements ExceptionInterface
 {

+ 2 - 0
src/Symfony/Component/Routing/Exception/MethodNotAllowedException.php

@@ -17,6 +17,8 @@ namespace Symfony\Component\Routing\Exception;
  * This exception should trigger an HTTP 405 response in your application code.
  *
  * @author Kris Wallsmith <kris@symfony.com>
+ *
+ * @api
  */
 class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface
 {

+ 2 - 0
src/Symfony/Component/Routing/Exception/MissingMandatoryParametersException.php

@@ -16,6 +16,8 @@ namespace Symfony\Component\Routing\Exception;
  * mandatory parameters.
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
+ *
+ * @api
  */
 class MissingMandatoryParametersException extends \InvalidArgumentException implements ExceptionInterface
 {

+ 2 - 0
src/Symfony/Component/Routing/Exception/ResourceNotFoundException.php

@@ -17,6 +17,8 @@ namespace Symfony\Component\Routing\Exception;
  * This exception should trigger an HTTP 404 response in your application code.
  *
  * @author Kris Wallsmith <kris@symfony.com>
+ *
+ * @api
  */
 class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface
 {

+ 2 - 0
src/Symfony/Component/Routing/Exception/RouteNotFoundException.php

@@ -15,6 +15,8 @@ namespace Symfony\Component\Routing\Exception;
  * Exception thrown when a route does not exists
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
+ *
+ * @api
  */
 class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface
 {