Skip to content

Commit 8276e36

Browse files
committed
remove api tags from code
1 parent bdc0cfb commit 8276e36

21 files changed

+0
-216
lines changed

Bundle/Bundle.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
* for DependencyInjection extensions and Console commands.
2424
*
2525
* @author Fabien Potencier <[email protected]>
26-
*
27-
* @api
2826
*/
2927
abstract class Bundle extends ContainerAware implements BundleInterface
3028
{
@@ -66,8 +64,6 @@ public function build(ContainerBuilder $container)
6664
* @return ExtensionInterface|null The container extension
6765
*
6866
* @throws \LogicException
69-
*
70-
* @api
7167
*/
7268
public function getContainerExtension()
7369
{
@@ -108,8 +104,6 @@ public function getContainerExtension()
108104
* Gets the Bundle namespace.
109105
*
110106
* @return string The Bundle namespace
111-
*
112-
* @api
113107
*/
114108
public function getNamespace()
115109
{
@@ -124,8 +118,6 @@ public function getNamespace()
124118
* Gets the Bundle directory path.
125119
*
126120
* @return string The Bundle absolute path
127-
*
128-
* @api
129121
*/
130122
public function getPath()
131123
{
@@ -140,8 +132,6 @@ public function getPath()
140132
* Returns the bundle parent name.
141133
*
142134
* @return string The Bundle parent name it overrides or null if no parent
143-
*
144-
* @api
145135
*/
146136
public function getParent()
147137
{
@@ -151,8 +141,6 @@ public function getParent()
151141
* Returns the bundle name (the class short name).
152142
*
153143
* @return string The Bundle name
154-
*
155-
* @api
156144
*/
157145
final public function getName()
158146
{

Bundle/BundleInterface.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,16 @@
1919
* BundleInterface.
2020
*
2121
* @author Fabien Potencier <[email protected]>
22-
*
23-
* @api
2422
*/
2523
interface BundleInterface extends ContainerAwareInterface
2624
{
2725
/**
2826
* Boots the Bundle.
29-
*
30-
* @api
3127
*/
3228
public function boot();
3329

3430
/**
3531
* Shutdowns the Bundle.
36-
*
37-
* @api
3832
*/
3933
public function shutdown();
4034

@@ -44,17 +38,13 @@ public function shutdown();
4438
* It is only ever called once when the cache is empty.
4539
*
4640
* @param ContainerBuilder $container A ContainerBuilder instance
47-
*
48-
* @api
4941
*/
5042
public function build(ContainerBuilder $container);
5143

5244
/**
5345
* Returns the container extension that should be implicitly loaded.
5446
*
5547
* @return ExtensionInterface|null The default extension or null if there is none
56-
*
57-
* @api
5848
*/
5949
public function getContainerExtension();
6050

@@ -66,26 +56,20 @@ public function getContainerExtension();
6656
* bundle.
6757
*
6858
* @return string The Bundle name it overrides or null if no parent
69-
*
70-
* @api
7159
*/
7260
public function getParent();
7361

7462
/**
7563
* Returns the bundle name (the class short name).
7664
*
7765
* @return string The Bundle name
78-
*
79-
* @api
8066
*/
8167
public function getName();
8268

8369
/**
8470
* Gets the Bundle namespace.
8571
*
8672
* @return string The Bundle namespace
87-
*
88-
* @api
8973
*/
9074
public function getNamespace();
9175

@@ -95,8 +79,6 @@ public function getNamespace();
9579
* The path should always be returned as a Unix path (with /).
9680
*
9781
* @return string The Bundle absolute path
98-
*
99-
* @api
10082
*/
10183
public function getPath();
10284
}

Client.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* Client simulates a browser and makes requests to a Kernel object.
2626
*
2727
* @author Fabien Potencier <[email protected]>
28-
*
29-
* @api
3028
*/
3129
class Client extends BaseClient
3230
{

Controller/ControllerResolver.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* the controller method arguments.
2323
*
2424
* @author Fabien Potencier <[email protected]>
25-
*
26-
* @api
2725
*/
2826
class ControllerResolver implements ControllerResolverInterface
2927
{
@@ -51,8 +49,6 @@ public function __construct(LoggerInterface $logger = null)
5149
* or false if this resolver is not able to determine the controller
5250
*
5351
* @throws \InvalidArgumentException|\LogicException If the controller can't be found
54-
*
55-
* @api
5652
*/
5753
public function getController(Request $request)
5854
{
@@ -102,8 +98,6 @@ public function getController(Request $request)
10298
* @return array
10399
*
104100
* @throws \RuntimeException When value for argument given is not provided
105-
*
106-
* @api
107101
*/
108102
public function getArguments(Request $request, $controller)
109103
{

Controller/ControllerResolverInterface.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* A Controller can be any valid PHP callable.
2323
*
2424
* @author Fabien Potencier <[email protected]>
25-
*
26-
* @api
2725
*/
2826
interface ControllerResolverInterface
2927
{
@@ -42,8 +40,6 @@ interface ControllerResolverInterface
4240
* or false if this resolver is not able to determine the controller
4341
*
4442
* @throws \InvalidArgumentException|\LogicException If the controller can't be found
45-
*
46-
* @api
4743
*/
4844
public function getController(Request $request);
4945

@@ -56,8 +52,6 @@ public function getController(Request $request);
5652
* @return array An array of arguments to pass to the controller
5753
*
5854
* @throws \RuntimeException When value for argument given is not provided
59-
*
60-
* @api
6155
*/
6256
public function getArguments(Request $request, $controller);
6357
}

DataCollector/DataCollectorInterface.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* DataCollectorInterface.
1919
*
2020
* @author Fabien Potencier <[email protected]>
21-
*
22-
* @api
2321
*/
2422
interface DataCollectorInterface
2523
{
@@ -29,17 +27,13 @@ interface DataCollectorInterface
2927
* @param Request $request A Request instance
3028
* @param Response $response A Response instance
3129
* @param \Exception $exception An Exception instance
32-
*
33-
* @api
3430
*/
3531
public function collect(Request $request, Response $response, \Exception $exception = null);
3632

3733
/**
3834
* Returns the name of the collector.
3935
*
4036
* @return string The collector name
41-
*
42-
* @api
4337
*/
4438
public function getName();
4539
}

Event/FilterControllerEvent.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* Controllers should be callables.
2525
*
2626
* @author Bernhard Schussek <[email protected]>
27-
*
28-
* @api
2927
*/
3028
class FilterControllerEvent extends KernelEvent
3129
{
@@ -47,8 +45,6 @@ public function __construct(HttpKernelInterface $kernel, $controller, Request $r
4745
* Returns the current controller.
4846
*
4947
* @return callable
50-
*
51-
* @api
5248
*/
5349
public function getController()
5450
{
@@ -61,8 +57,6 @@ public function getController()
6157
* @param callable $controller
6258
*
6359
* @throws \LogicException
64-
*
65-
* @api
6660
*/
6761
public function setController($controller)
6862
{

Event/FilterResponseEvent.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
* browser.
2424
*
2525
* @author Bernhard Schussek <[email protected]>
26-
*
27-
* @api
2826
*/
2927
class FilterResponseEvent extends KernelEvent
3028
{
@@ -46,8 +44,6 @@ public function __construct(HttpKernelInterface $kernel, Request $request, $requ
4644
* Returns the current response object.
4745
*
4846
* @return Response
49-
*
50-
* @api
5147
*/
5248
public function getResponse()
5349
{
@@ -58,8 +54,6 @@ public function getResponse()
5854
* Sets a new response object.
5955
*
6056
* @param Response $response
61-
*
62-
* @api
6357
*/
6458
public function setResponse(Response $response)
6559
{

Event/GetResponseEvent.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* response is set.
2222
*
2323
* @author Bernhard Schussek <[email protected]>
24-
*
25-
* @api
2624
*/
2725
class GetResponseEvent extends KernelEvent
2826
{
@@ -37,8 +35,6 @@ class GetResponseEvent extends KernelEvent
3735
* Returns the response object.
3836
*
3937
* @return Response
40-
*
41-
* @api
4238
*/
4339
public function getResponse()
4440
{
@@ -49,8 +45,6 @@ public function getResponse()
4945
* Sets a response and stops event propagation.
5046
*
5147
* @param Response $response
52-
*
53-
* @api
5448
*/
5549
public function setResponse(Response $response)
5650
{
@@ -63,8 +57,6 @@ public function setResponse(Response $response)
6357
* Returns whether a response was set.
6458
*
6559
* @return bool Whether a response was set
66-
*
67-
* @api
6860
*/
6961
public function hasResponse()
7062
{

Event/GetResponseForControllerResultEvent.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* response is set.
2323
*
2424
* @author Bernhard Schussek <[email protected]>
25-
*
26-
* @api
2725
*/
2826
class GetResponseForControllerResultEvent extends GetResponseEvent
2927
{
@@ -45,8 +43,6 @@ public function __construct(HttpKernelInterface $kernel, Request $request, $requ
4543
* Returns the return value of the controller.
4644
*
4745
* @return mixed The controller return value
48-
*
49-
* @api
5046
*/
5147
public function getControllerResult()
5248
{
@@ -57,8 +53,6 @@ public function getControllerResult()
5753
* Assigns the return value of the controller.
5854
*
5955
* @param mixed $controllerResult The controller return value
60-
*
61-
* @api
6256
*/
6357
public function setControllerResult($controllerResult)
6458
{

0 commit comments

Comments
 (0)