Skip to content

Commit

Permalink
minor #15979 remove api tags from code (Tobion)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

remove api tags from code

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15977
| License       | MIT
| Doc PR        | n/a

Commits
-------

f1c7c65 remove api tags from code
  • Loading branch information
Tobion committed Sep 29, 2015
2 parents 3f2e80f + f1c7c65 commit e1ede46
Show file tree
Hide file tree
Showing 233 changed files with 0 additions and 2,198 deletions.
40 changes: 0 additions & 40 deletions src/Symfony/Component/BrowserKit/Client.php
Expand Up @@ -25,8 +25,6 @@
* you need to also implement the getScript() method.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
abstract class Client
{
Expand All @@ -52,8 +50,6 @@ abstract class Client
* @param array $server The server parameters (equivalent of $_SERVER)
* @param History $history A History instance to store the browser history
* @param CookieJar $cookieJar A CookieJar instance to store the cookies
*
* @api
*/
public function __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null)
{
Expand All @@ -71,8 +67,6 @@ public function __construct(array $server = array(), History $history = null, Co
* Sets whether to automatically follow redirects or not.
*
* @param bool $followRedirect Whether to follow redirects
*
* @api
*/
public function followRedirects($followRedirect = true)
{
Expand All @@ -96,8 +90,6 @@ public function setMaxRedirects($maxRedirects)
* @param bool $insulated Whether to insulate the requests or not
*
* @throws \RuntimeException When Symfony Process Component is not installed
*
* @api
*/
public function insulate($insulated = true)
{
Expand All @@ -114,8 +106,6 @@ public function insulate($insulated = true)
* Sets server parameters.
*
* @param array $server An array of server parameters
*
* @api
*/
public function setServerParameters(array $server)
{
Expand Down Expand Up @@ -153,8 +143,6 @@ public function getServerParameter($key, $default = '')
* Returns the History instance.
*
* @return History A History instance
*
* @api
*/
public function getHistory()
{
Expand All @@ -165,8 +153,6 @@ public function getHistory()
* Returns the CookieJar instance.
*
* @return CookieJar A CookieJar instance
*
* @api
*/
public function getCookieJar()
{
Expand All @@ -177,8 +163,6 @@ public function getCookieJar()
* Returns the current Crawler instance.
*
* @return Crawler|null A Crawler instance
*
* @api
*/
public function getCrawler()
{
Expand All @@ -189,8 +173,6 @@ public function getCrawler()
* Returns the current BrowserKit Response instance.
*
* @return Response|null A BrowserKit Response instance
*
* @api
*/
public function getInternalResponse()
{
Expand All @@ -206,8 +188,6 @@ public function getInternalResponse()
* @return object|null A response instance
*
* @see doRequest()
*
* @api
*/
public function getResponse()
{
Expand All @@ -218,8 +198,6 @@ public function getResponse()
* Returns the current BrowserKit Request instance.
*
* @return Request|null A BrowserKit Request instance
*
* @api
*/
public function getInternalRequest()
{
Expand All @@ -235,8 +213,6 @@ public function getInternalRequest()
* @return object|null A Request instance
*
* @see doRequest()
*
* @api
*/
public function getRequest()
{
Expand All @@ -249,8 +225,6 @@ public function getRequest()
* @param Link $link A Link instance
*
* @return Crawler
*
* @api
*/
public function click(Link $link)
{
Expand All @@ -268,8 +242,6 @@ public function click(Link $link)
* @param array $values An array of form field values
*
* @return Crawler
*
* @api
*/
public function submit(Form $form, array $values = array())
{
Expand All @@ -290,8 +262,6 @@ public function submit(Form $form, array $values = array())
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
*
* @return Crawler
*
* @api
*/
public function request($method, $uri, array $parameters = array(), array $files = array(), array $server = array(), $content = null, $changeHistory = true)
{
Expand Down Expand Up @@ -449,8 +419,6 @@ protected function createCrawlerFromContent($uri, $content, $type)
* Goes back in the browser history.
*
* @return Crawler
*
* @api
*/
public function back()
{
Expand All @@ -461,8 +429,6 @@ public function back()
* Goes forward in the browser history.
*
* @return Crawler
*
* @api
*/
public function forward()
{
Expand All @@ -473,8 +439,6 @@ public function forward()
* Reloads the current browser.
*
* @return Crawler
*
* @api
*/
public function reload()
{
Expand All @@ -487,8 +451,6 @@ public function reload()
* @return Crawler
*
* @throws \LogicException If request was not a redirect
*
* @api
*/
public function followRedirect()
{
Expand Down Expand Up @@ -537,8 +499,6 @@ public function followRedirect()
* Restarts the client.
*
* It flushes history and all cookies.
*
* @api
*/
public function restart()
{
Expand Down
26 changes: 0 additions & 26 deletions src/Symfony/Component/BrowserKit/Cookie.php
Expand Up @@ -15,8 +15,6 @@
* Cookie represents an HTTP cookie.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
class Cookie
{
Expand Down Expand Up @@ -56,8 +54,6 @@ class Cookie
* @param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client
* @param bool $httponly The cookie httponly flag
* @param bool $encodedValue Whether the value is encoded or not
*
* @api
*/
public function __construct($name, $value, $expires = null, $path = null, $domain = '', $secure = false, $httponly = true, $encodedValue = false)
{
Expand Down Expand Up @@ -90,8 +86,6 @@ public function __construct($name, $value, $expires = null, $path = null, $domai
* @return string The HTTP representation of the Cookie
*
* @throws \UnexpectedValueException
*
* @api
*/
public function __toString()
{
Expand Down Expand Up @@ -130,8 +124,6 @@ public function __toString()
* @return Cookie A Cookie instance
*
* @throws \InvalidArgumentException
*
* @api
*/
public static function fromString($cookie, $url = null)
{
Expand Down Expand Up @@ -229,8 +221,6 @@ private static function parseDate($dateValue)
* Gets the name of the cookie.
*
* @return string The cookie name
*
* @api
*/
public function getName()
{
Expand All @@ -241,8 +231,6 @@ public function getName()
* Gets the value of the cookie.
*
* @return string The cookie value
*
* @api
*/
public function getValue()
{
Expand All @@ -253,8 +241,6 @@ public function getValue()
* Gets the raw value of the cookie.
*
* @return string The cookie value
*
* @api
*/
public function getRawValue()
{
Expand All @@ -265,8 +251,6 @@ public function getRawValue()
* Gets the expires time of the cookie.
*
* @return string The cookie expires time
*
* @api
*/
public function getExpiresTime()
{
Expand All @@ -277,8 +261,6 @@ public function getExpiresTime()
* Gets the path of the cookie.
*
* @return string The cookie path
*
* @api
*/
public function getPath()
{
Expand All @@ -289,8 +271,6 @@ public function getPath()
* Gets the domain of the cookie.
*
* @return string The cookie domain
*
* @api
*/
public function getDomain()
{
Expand All @@ -301,8 +281,6 @@ public function getDomain()
* Returns the secure flag of the cookie.
*
* @return bool The cookie secure flag
*
* @api
*/
public function isSecure()
{
Expand All @@ -313,8 +291,6 @@ public function isSecure()
* Returns the httponly flag of the cookie.
*
* @return bool The cookie httponly flag
*
* @api
*/
public function isHttpOnly()
{
Expand All @@ -325,8 +301,6 @@ public function isHttpOnly()
* Returns true if the cookie has expired.
*
* @return bool true if the cookie has expired, false otherwise
*
* @api
*/
public function isExpired()
{
Expand Down
10 changes: 0 additions & 10 deletions src/Symfony/Component/BrowserKit/CookieJar.php
Expand Up @@ -15,8 +15,6 @@
* CookieJar.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
class CookieJar
{
Expand All @@ -26,8 +24,6 @@ class CookieJar
* Sets a cookie.
*
* @param Cookie $cookie A Cookie instance
*
* @api
*/
public function set(Cookie $cookie)
{
Expand All @@ -47,8 +43,6 @@ public function set(Cookie $cookie)
* @param string $domain The cookie domain
*
* @return Cookie|null A Cookie instance or null if the cookie does not exist
*
* @api
*/
public function get($name, $path = '/', $domain = null)
{
Expand Down Expand Up @@ -94,8 +88,6 @@ public function get($name, $path = '/', $domain = null)
* @param string $name The cookie name
* @param string $path The cookie path
* @param string $domain The cookie domain
*
* @api
*/
public function expire($name, $path = '/', $domain = null)
{
Expand Down Expand Up @@ -126,8 +118,6 @@ public function expire($name, $path = '/', $domain = null)

/**
* Removes all the cookies from the jar.
*
* @api
*/
public function clear()
{
Expand Down

0 comments on commit e1ede46

Please sign in to comment.