Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1c7c65

Browse files
committed
remove api tags from code
1 parent 3765d8a commit f1c7c65

File tree

233 files changed

+0
-2198
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+0
-2198
lines changed

src/Symfony/Component/BrowserKit/Client.php

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* you need to also implement the getScript() method.
2626
*
2727
* @author Fabien Potencier <[email protected]>
28-
*
29-
* @api
3028
*/
3129
abstract class Client
3230
{
@@ -52,8 +50,6 @@ abstract class Client
5250
* @param array $server The server parameters (equivalent of $_SERVER)
5351
* @param History $history A History instance to store the browser history
5452
* @param CookieJar $cookieJar A CookieJar instance to store the cookies
55-
*
56-
* @api
5753
*/
5854
public function __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null)
5955
{
@@ -71,8 +67,6 @@ public function __construct(array $server = array(), History $history = null, Co
7167
* Sets whether to automatically follow redirects or not.
7268
*
7369
* @param bool $followRedirect Whether to follow redirects
74-
*
75-
* @api
7670
*/
7771
public function followRedirects($followRedirect = true)
7872
{
@@ -96,8 +90,6 @@ public function setMaxRedirects($maxRedirects)
9690
* @param bool $insulated Whether to insulate the requests or not
9791
*
9892
* @throws \RuntimeException When Symfony Process Component is not installed
99-
*
100-
* @api
10193
*/
10294
public function insulate($insulated = true)
10395
{
@@ -114,8 +106,6 @@ public function insulate($insulated = true)
114106
* Sets server parameters.
115107
*
116108
* @param array $server An array of server parameters
117-
*
118-
* @api
119109
*/
120110
public function setServerParameters(array $server)
121111
{
@@ -153,8 +143,6 @@ public function getServerParameter($key, $default = '')
153143
* Returns the History instance.
154144
*
155145
* @return History A History instance
156-
*
157-
* @api
158146
*/
159147
public function getHistory()
160148
{
@@ -165,8 +153,6 @@ public function getHistory()
165153
* Returns the CookieJar instance.
166154
*
167155
* @return CookieJar A CookieJar instance
168-
*
169-
* @api
170156
*/
171157
public function getCookieJar()
172158
{
@@ -177,8 +163,6 @@ public function getCookieJar()
177163
* Returns the current Crawler instance.
178164
*
179165
* @return Crawler|null A Crawler instance
180-
*
181-
* @api
182166
*/
183167
public function getCrawler()
184168
{
@@ -189,8 +173,6 @@ public function getCrawler()
189173
* Returns the current BrowserKit Response instance.
190174
*
191175
* @return Response|null A BrowserKit Response instance
192-
*
193-
* @api
194176
*/
195177
public function getInternalResponse()
196178
{
@@ -206,8 +188,6 @@ public function getInternalResponse()
206188
* @return object|null A response instance
207189
*
208190
* @see doRequest()
209-
*
210-
* @api
211191
*/
212192
public function getResponse()
213193
{
@@ -218,8 +198,6 @@ public function getResponse()
218198
* Returns the current BrowserKit Request instance.
219199
*
220200
* @return Request|null A BrowserKit Request instance
221-
*
222-
* @api
223201
*/
224202
public function getInternalRequest()
225203
{
@@ -235,8 +213,6 @@ public function getInternalRequest()
235213
* @return object|null A Request instance
236214
*
237215
* @see doRequest()
238-
*
239-
* @api
240216
*/
241217
public function getRequest()
242218
{
@@ -249,8 +225,6 @@ public function getRequest()
249225
* @param Link $link A Link instance
250226
*
251227
* @return Crawler
252-
*
253-
* @api
254228
*/
255229
public function click(Link $link)
256230
{
@@ -268,8 +242,6 @@ public function click(Link $link)
268242
* @param array $values An array of form field values
269243
*
270244
* @return Crawler
271-
*
272-
* @api
273245
*/
274246
public function submit(Form $form, array $values = array())
275247
{
@@ -290,8 +262,6 @@ public function submit(Form $form, array $values = array())
290262
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
291263
*
292264
* @return Crawler
293-
*
294-
* @api
295265
*/
296266
public function request($method, $uri, array $parameters = array(), array $files = array(), array $server = array(), $content = null, $changeHistory = true)
297267
{
@@ -449,8 +419,6 @@ protected function createCrawlerFromContent($uri, $content, $type)
449419
* Goes back in the browser history.
450420
*
451421
* @return Crawler
452-
*
453-
* @api
454422
*/
455423
public function back()
456424
{
@@ -461,8 +429,6 @@ public function back()
461429
* Goes forward in the browser history.
462430
*
463431
* @return Crawler
464-
*
465-
* @api
466432
*/
467433
public function forward()
468434
{
@@ -473,8 +439,6 @@ public function forward()
473439
* Reloads the current browser.
474440
*
475441
* @return Crawler
476-
*
477-
* @api
478442
*/
479443
public function reload()
480444
{
@@ -487,8 +451,6 @@ public function reload()
487451
* @return Crawler
488452
*
489453
* @throws \LogicException If request was not a redirect
490-
*
491-
* @api
492454
*/
493455
public function followRedirect()
494456
{
@@ -537,8 +499,6 @@ public function followRedirect()
537499
* Restarts the client.
538500
*
539501
* It flushes history and all cookies.
540-
*
541-
* @api
542502
*/
543503
public function restart()
544504
{

src/Symfony/Component/BrowserKit/Cookie.php

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* Cookie represents an HTTP cookie.
1616
*
1717
* @author Fabien Potencier <[email protected]>
18-
*
19-
* @api
2018
*/
2119
class Cookie
2220
{
@@ -56,8 +54,6 @@ class Cookie
5654
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
5755
* @param bool $httponly The cookie httponly flag
5856
* @param bool $encodedValue Whether the value is encoded or not
59-
*
60-
* @api
6157
*/
6258
public function __construct($name, $value, $expires = null, $path = null, $domain = '', $secure = false, $httponly = true, $encodedValue = false)
6359
{
@@ -90,8 +86,6 @@ public function __construct($name, $value, $expires = null, $path = null, $domai
9086
* @return string The HTTP representation of the Cookie
9187
*
9288
* @throws \UnexpectedValueException
93-
*
94-
* @api
9589
*/
9690
public function __toString()
9791
{
@@ -130,8 +124,6 @@ public function __toString()
130124
* @return Cookie A Cookie instance
131125
*
132126
* @throws \InvalidArgumentException
133-
*
134-
* @api
135127
*/
136128
public static function fromString($cookie, $url = null)
137129
{
@@ -229,8 +221,6 @@ private static function parseDate($dateValue)
229221
* Gets the name of the cookie.
230222
*
231223
* @return string The cookie name
232-
*
233-
* @api
234224
*/
235225
public function getName()
236226
{
@@ -241,8 +231,6 @@ public function getName()
241231
* Gets the value of the cookie.
242232
*
243233
* @return string The cookie value
244-
*
245-
* @api
246234
*/
247235
public function getValue()
248236
{
@@ -253,8 +241,6 @@ public function getValue()
253241
* Gets the raw value of the cookie.
254242
*
255243
* @return string The cookie value
256-
*
257-
* @api
258244
*/
259245
public function getRawValue()
260246
{
@@ -265,8 +251,6 @@ public function getRawValue()
265251
* Gets the expires time of the cookie.
266252
*
267253
* @return string The cookie expires time
268-
*
269-
* @api
270254
*/
271255
public function getExpiresTime()
272256
{
@@ -277,8 +261,6 @@ public function getExpiresTime()
277261
* Gets the path of the cookie.
278262
*
279263
* @return string The cookie path
280-
*
281-
* @api
282264
*/
283265
public function getPath()
284266
{
@@ -289,8 +271,6 @@ public function getPath()
289271
* Gets the domain of the cookie.
290272
*
291273
* @return string The cookie domain
292-
*
293-
* @api
294274
*/
295275
public function getDomain()
296276
{
@@ -301,8 +281,6 @@ public function getDomain()
301281
* Returns the secure flag of the cookie.
302282
*
303283
* @return bool The cookie secure flag
304-
*
305-
* @api
306284
*/
307285
public function isSecure()
308286
{
@@ -313,8 +291,6 @@ public function isSecure()
313291
* Returns the httponly flag of the cookie.
314292
*
315293
* @return bool The cookie httponly flag
316-
*
317-
* @api
318294
*/
319295
public function isHttpOnly()
320296
{
@@ -325,8 +301,6 @@ public function isHttpOnly()
325301
* Returns true if the cookie has expired.
326302
*
327303
* @return bool true if the cookie has expired, false otherwise
328-
*
329-
* @api
330304
*/
331305
public function isExpired()
332306
{

src/Symfony/Component/BrowserKit/CookieJar.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* CookieJar.
1616
*
1717
* @author Fabien Potencier <[email protected]>
18-
*
19-
* @api
2018
*/
2119
class CookieJar
2220
{
@@ -26,8 +24,6 @@ class CookieJar
2624
* Sets a cookie.
2725
*
2826
* @param Cookie $cookie A Cookie instance
29-
*
30-
* @api
3127
*/
3228
public function set(Cookie $cookie)
3329
{
@@ -47,8 +43,6 @@ public function set(Cookie $cookie)
4743
* @param string $domain The cookie domain
4844
*
4945
* @return Cookie|null A Cookie instance or null if the cookie does not exist
50-
*
51-
* @api
5246
*/
5347
public function get($name, $path = '/', $domain = null)
5448
{
@@ -94,8 +88,6 @@ public function get($name, $path = '/', $domain = null)
9488
* @param string $name The cookie name
9589
* @param string $path The cookie path
9690
* @param string $domain The cookie domain
97-
*
98-
* @api
9991
*/
10092
public function expire($name, $path = '/', $domain = null)
10193
{
@@ -126,8 +118,6 @@ public function expire($name, $path = '/', $domain = null)
126118

127119
/**
128120
* Removes all the cookies from the jar.
129-
*
130-
* @api
131121
*/
132122
public function clear()
133123
{

0 commit comments

Comments
 (0)