Skip to content

Commit 888be17

Browse files
committed
remove api tags from code
1 parent 3e900f6 commit 888be17

25 files changed

+0
-417
lines changed

Alias.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111

1212
namespace Symfony\Component\DependencyInjection;
1313

14-
/**
15-
* @api
16-
*/
1714
class Alias
1815
{
1916
private $id;
@@ -24,8 +21,6 @@ class Alias
2421
*
2522
* @param string $id Alias identifier
2623
* @param bool $public If this alias is public
27-
*
28-
* @api
2924
*/
3025
public function __construct($id, $public = true)
3126
{
@@ -37,8 +32,6 @@ public function __construct($id, $public = true)
3732
* Checks if this DI Alias should be public or not.
3833
*
3934
* @return bool
40-
*
41-
* @api
4235
*/
4336
public function isPublic()
4437
{
@@ -49,8 +42,6 @@ public function isPublic()
4942
* Sets if this Alias is public.
5043
*
5144
* @param bool $boolean If this Alias should be public
52-
*
53-
* @api
5445
*/
5546
public function setPublic($boolean)
5647
{
@@ -61,8 +52,6 @@ public function setPublic($boolean)
6152
* Returns the Id of this alias.
6253
*
6354
* @return string The alias id
64-
*
65-
* @api
6655
*/
6756
public function __toString()
6857
{

Compiler/Compiler.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
* This class is used to remove circular dependencies between individual passes.
1818
*
1919
* @author Johannes M. Schmitt <[email protected]>
20-
*
21-
* @api
2220
*/
2321
class Compiler
2422
{
@@ -42,8 +40,6 @@ public function __construct()
4240
* Returns the PassConfig.
4341
*
4442
* @return PassConfig The PassConfig instance
45-
*
46-
* @api
4743
*/
4844
public function getPassConfig()
4945
{
@@ -54,8 +50,6 @@ public function getPassConfig()
5450
* Returns the ServiceReferenceGraph.
5551
*
5652
* @return ServiceReferenceGraph The ServiceReferenceGraph instance
57-
*
58-
* @api
5953
*/
6054
public function getServiceReferenceGraph()
6155
{
@@ -77,8 +71,6 @@ public function getLoggingFormatter()
7771
*
7872
* @param CompilerPassInterface $pass A compiler pass
7973
* @param string $type The type of the pass
80-
*
81-
* @api
8274
*/
8375
public function addPass(CompilerPassInterface $pass, $type = PassConfig::TYPE_BEFORE_OPTIMIZATION)
8476
{
@@ -109,8 +101,6 @@ public function getLog()
109101
* Run the Compiler and process all Passes.
110102
*
111103
* @param ContainerBuilder $container
112-
*
113-
* @api
114104
*/
115105
public function compile(ContainerBuilder $container)
116106
{

Compiler/CompilerPassInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,13 @@
1717
* Interface that must be implemented by compilation passes.
1818
*
1919
* @author Johannes M. Schmitt <[email protected]>
20-
*
21-
* @api
2220
*/
2321
interface CompilerPassInterface
2422
{
2523
/**
2624
* You can modify the container here before it is dumped to PHP code.
2725
*
2826
* @param ContainerBuilder $container
29-
*
30-
* @api
3127
*/
3228
public function process(ContainerBuilder $container);
3329
}

Compiler/PassConfig.php

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
* This class has a default configuration embedded.
2020
*
2121
* @author Johannes M. Schmitt <[email protected]>
22-
*
23-
* @api
2422
*/
2523
class PassConfig
2624
{
@@ -77,8 +75,6 @@ public function __construct()
7775
* Returns all passes in order to be processed.
7876
*
7977
* @return array An array of all passes to process
80-
*
81-
* @api
8278
*/
8379
public function getPasses()
8480
{
@@ -99,8 +95,6 @@ public function getPasses()
9995
* @param string $type The pass type
10096
*
10197
* @throws InvalidArgumentException when a pass type doesn't exist
102-
*
103-
* @api
10498
*/
10599
public function addPass(CompilerPassInterface $pass, $type = self::TYPE_BEFORE_OPTIMIZATION)
106100
{
@@ -117,8 +111,6 @@ public function addPass(CompilerPassInterface $pass, $type = self::TYPE_BEFORE_O
117111
* Gets all passes for the AfterRemoving pass.
118112
*
119113
* @return array An array of passes
120-
*
121-
* @api
122114
*/
123115
public function getAfterRemovingPasses()
124116
{
@@ -129,8 +121,6 @@ public function getAfterRemovingPasses()
129121
* Gets all passes for the BeforeOptimization pass.
130122
*
131123
* @return array An array of passes
132-
*
133-
* @api
134124
*/
135125
public function getBeforeOptimizationPasses()
136126
{
@@ -141,8 +131,6 @@ public function getBeforeOptimizationPasses()
141131
* Gets all passes for the BeforeRemoving pass.
142132
*
143133
* @return array An array of passes
144-
*
145-
* @api
146134
*/
147135
public function getBeforeRemovingPasses()
148136
{
@@ -153,8 +141,6 @@ public function getBeforeRemovingPasses()
153141
* Gets all passes for the Optimization pass.
154142
*
155143
* @return array An array of passes
156-
*
157-
* @api
158144
*/
159145
public function getOptimizationPasses()
160146
{
@@ -165,8 +151,6 @@ public function getOptimizationPasses()
165151
* Gets all passes for the Removing pass.
166152
*
167153
* @return array An array of passes
168-
*
169-
* @api
170154
*/
171155
public function getRemovingPasses()
172156
{
@@ -177,8 +161,6 @@ public function getRemovingPasses()
177161
* Gets all passes for the Merge pass.
178162
*
179163
* @return array An array of passes
180-
*
181-
* @api
182164
*/
183165
public function getMergePass()
184166
{
@@ -189,8 +171,6 @@ public function getMergePass()
189171
* Sets the Merge Pass.
190172
*
191173
* @param CompilerPassInterface $pass The merge pass
192-
*
193-
* @api
194174
*/
195175
public function setMergePass(CompilerPassInterface $pass)
196176
{
@@ -201,8 +181,6 @@ public function setMergePass(CompilerPassInterface $pass)
201181
* Sets the AfterRemoving passes.
202182
*
203183
* @param array $passes An array of passes
204-
*
205-
* @api
206184
*/
207185
public function setAfterRemovingPasses(array $passes)
208186
{
@@ -213,8 +191,6 @@ public function setAfterRemovingPasses(array $passes)
213191
* Sets the BeforeOptimization passes.
214192
*
215193
* @param array $passes An array of passes
216-
*
217-
* @api
218194
*/
219195
public function setBeforeOptimizationPasses(array $passes)
220196
{
@@ -225,8 +201,6 @@ public function setBeforeOptimizationPasses(array $passes)
225201
* Sets the BeforeRemoving passes.
226202
*
227203
* @param array $passes An array of passes
228-
*
229-
* @api
230204
*/
231205
public function setBeforeRemovingPasses(array $passes)
232206
{
@@ -237,8 +211,6 @@ public function setBeforeRemovingPasses(array $passes)
237211
* Sets the Optimization passes.
238212
*
239213
* @param array $passes An array of passes
240-
*
241-
* @api
242214
*/
243215
public function setOptimizationPasses(array $passes)
244216
{
@@ -249,8 +221,6 @@ public function setOptimizationPasses(array $passes)
249221
* Sets the Removing passes.
250222
*
251223
* @param array $passes An array of passes
252-
*
253-
* @api
254224
*/
255225
public function setRemovingPasses(array $passes)
256226
{

Container.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@
5757
*
5858
* @author Fabien Potencier <[email protected]>
5959
* @author Johannes M. Schmitt <[email protected]>
60-
*
61-
* @api
6260
*/
6361
class Container implements IntrospectableContainerInterface
6462
{
@@ -82,8 +80,6 @@ class Container implements IntrospectableContainerInterface
8280
* Constructor.
8381
*
8482
* @param ParameterBagInterface $parameterBag A ParameterBagInterface instance
85-
*
86-
* @api
8783
*/
8884
public function __construct(ParameterBagInterface $parameterBag = null)
8985
{
@@ -104,8 +100,6 @@ public function __construct(ParameterBagInterface $parameterBag = null)
104100
*
105101
* * Parameter values are resolved;
106102
* * The parameter bag is frozen.
107-
*
108-
* @api
109103
*/
110104
public function compile()
111105
{
@@ -118,8 +112,6 @@ public function compile()
118112
* Returns true if the container parameter bag are frozen.
119113
*
120114
* @return bool true if the container parameter bag are frozen, false otherwise
121-
*
122-
* @api
123115
*/
124116
public function isFrozen()
125117
{
@@ -130,8 +122,6 @@ public function isFrozen()
130122
* Gets the service container parameter bag.
131123
*
132124
* @return ParameterBagInterface A ParameterBagInterface instance
133-
*
134-
* @api
135125
*/
136126
public function getParameterBag()
137127
{
@@ -146,8 +136,6 @@ public function getParameterBag()
146136
* @return mixed The parameter value
147137
*
148138
* @throws InvalidArgumentException if the parameter is not defined
149-
*
150-
* @api
151139
*/
152140
public function getParameter($name)
153141
{
@@ -160,8 +148,6 @@ public function getParameter($name)
160148
* @param string $name The parameter name
161149
*
162150
* @return bool The presence of parameter in container
163-
*
164-
* @api
165151
*/
166152
public function hasParameter($name)
167153
{
@@ -173,8 +159,6 @@ public function hasParameter($name)
173159
*
174160
* @param string $name The parameter name
175161
* @param mixed $value The parameter value
176-
*
177-
* @api
178162
*/
179163
public function setParameter($name, $value)
180164
{
@@ -193,8 +177,6 @@ public function setParameter($name, $value)
193177
*
194178
* @throws RuntimeException When trying to set a service in an inactive scope
195179
* @throws InvalidArgumentException When trying to set a service in the prototype scope
196-
*
197-
* @api
198180
*/
199181
public function set($id, $service, $scope = self::SCOPE_CONTAINER)
200182
{
@@ -239,8 +221,6 @@ public function set($id, $service, $scope = self::SCOPE_CONTAINER)
239221
* @param string $id The service identifier
240222
*
241223
* @return bool true if the service is defined, false otherwise
242-
*
243-
* @api
244224
*/
245225
public function has($id)
246226
{
@@ -276,8 +256,6 @@ public function has($id)
276256
* @throws \Exception if an exception has been thrown when the service has been resolved
277257
*
278258
* @see Reference
279-
*
280-
* @api
281259
*/
282260
public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE)
283261
{
@@ -402,8 +380,6 @@ public function getServiceIds()
402380
*
403381
* @throws RuntimeException When the parent scope is inactive
404382
* @throws InvalidArgumentException When the scope does not exist
405-
*
406-
* @api
407383
*/
408384
public function enterScope($name)
409385
{
@@ -450,8 +426,6 @@ public function enterScope($name)
450426
* @param string $name The name of the scope to leave
451427
*
452428
* @throws InvalidArgumentException if the scope is not active
453-
*
454-
* @api
455429
*/
456430
public function leaveScope($name)
457431
{
@@ -492,8 +466,6 @@ public function leaveScope($name)
492466
* @param ScopeInterface $scope
493467
*
494468
* @throws InvalidArgumentException
495-
*
496-
* @api
497469
*/
498470
public function addScope(ScopeInterface $scope)
499471
{
@@ -526,8 +498,6 @@ public function addScope(ScopeInterface $scope)
526498
* @param string $name The name of the scope
527499
*
528500
* @return bool
529-
*
530-
* @api
531501
*/
532502
public function hasScope($name)
533503
{
@@ -542,8 +512,6 @@ public function hasScope($name)
542512
* @param string $name
543513
*
544514
* @return bool
545-
*
546-
* @api
547515
*/
548516
public function isScopeActive($name)
549517
{

0 commit comments

Comments
 (0)