G:\wamp\www\Symfony-2\src\AppBundle\Tests\Controller\ArticleControllerTest.php:14:
class Symfony\Bundle\FrameworkBundle\Client#802 (18) {
private $hasPerformedRequest =>
bool(true)
private $profiler =>
bool(false)
private $reboot =>
bool(true)
protected $kernel =>
class AppKernel#33 (10) {
protected $bundles =>
array(26) {
...
}
protected $bundleMap =>
array(26) {
...
}
protected $container =>
class appTestDebugProjectContainer#805 (12) {
private $parameters =>
array(699) {
...
}
private $targetDirs =>
array(4) {
...
}
protected $parameterBag =>
NULL
protected $services =>
array(92) {
...
}
protected $methodMap =>
array(317) {
...
}
protected $aliases =>
array(17) {
...
}
protected $scopes =>
array(1) {
...
}
protected $scopeChildren =>
array(1) {
...
}
protected $scopedServices =>
array(0) {
...
}
protected $scopeStacks =>
array(0) {
...
}
protected $loading =>
array(0) {
...
}
private $underscoreMap =>
array(3) {
...
}
}
protected $rootDir =>
string(25) "G:\wamp\www\Symfony-2\app"
protected $environment =>
string(4) "test"
protected $debug =>
bool(true)
protected $booted =>
bool(true)
protected $name =>
string(3) "app"
protected $startTime =>
double(1465328014.7323)
protected $loadClassCache =>
NULL
}
protected $history =>
class Symfony\Component\BrowserKit\History#801 (2) {
protected $stack =>
array(1) {
[0] =>
class Symfony\Component\BrowserKit\Request#790 (7) {
...
}
}
protected $position =>
int(0)
}
protected $cookieJar =>
class Symfony\Component\BrowserKit\CookieJar#800 (1) {
protected $cookieJar =>
array(0) {
}
}
protected $server =>
array(1) {
'HTTP_USER_AGENT' =>
string(19) "Symfony2 BrowserKit"
}
protected $internalRequest =>
class Symfony\Component\BrowserKit\Request#799 (7) {
protected $uri =>
string(24) "http://localhost/article"
protected $method =>
string(3) "GET"
protected $parameters =>
array(0) {
}
protected $files =>
array(0) {
}
protected $cookies =>
array(0) {
}
protected $server =>
array(3) {
'HTTP_USER_AGENT' =>
string(19) "Symfony2 BrowserKit"
'HTTP_HOST' =>
string(9) "localhost"
'HTTPS' =>
bool(false)
}
protected $content =>
NULL
}
protected $request =>
class Symfony\Component\HttpFoundation\Request#798 (21) {
public $attributes =>
class Symfony\Component\HttpFoundation\ParameterBag#795 (1) {
protected $parameters =>
array(8) {
...
}
}
public $request =>
class Symfony\Component\HttpFoundation\ParameterBag#797 (1) {
protected $parameters =>
array(0) {
...
}
}
public $query =>
class Symfony\Component\HttpFoundation\ParameterBag#796 (1) {
protected $parameters =>
array(0) {
...
}
}
public $server =>
class Symfony\Component\HttpFoundation\ServerBag#792 (1) {
protected $parameters =>
array(16) {
...
}
}
public $files =>
class Symfony\Component\HttpFoundation\FileBag#793 (1) {
protected $parameters =>
array(0) {
...
}
}
public $cookies =>
class Symfony\Component\HttpFoundation\ParameterBag#794 (1) {
protected $parameters =>
array(0) {
...
}
}
public $headers =>
class Symfony\Component\HttpFoundation\HeaderBag#791 (2) {
protected $headers =>
array(6) {
...
}
protected $cacheControl =>
array(0) {
...
}
}
protected $content =>
NULL
protected $languages =>
NULL
protected $charsets =>
NULL
protected $encodings =>
NULL
protected $acceptableContentTypes =>
NULL
protected $pathInfo =>
string(8) "/article"
protected $requestUri =>
string(8) "/article"
protected $baseUrl =>
string(0) ""
protected $basePath =>
NULL
protected $method =>
string(3) "GET"
protected $format =>
string(4) "html"
protected $session =>
class Symfony\Component\HttpFoundation\Session\Session#691 (3) {
protected $storage =>
class Symfony\Component\HttpFoundation\Session\Storage\MockFileSessionStorage#690 (8) {
...
}
private $flashName =>
string(7) "flashes"
private $attributeName =>
string(10) "attributes"
}
protected $locale =>
NULL
protected $defaultLocale =>
string(2) "fr"
}
protected $internalResponse =>
class Symfony\Component\BrowserKit\Response#447 (3) {
protected $content =>
string(344) "<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="1;url=http://localhost/article/" />
<title>Redirecting to http://localhost/article/</title>
</head>
<body>
Redirecting to <a href="http://localhost/article/">http://localhost/article/</a>.
</body>
</html>"
protected $status =>
int(301)
protected $headers =>
array(4) {
'cache-control' =>
array(1) {
...
}
'date' =>
array(1) {
...
}
'location' =>
array(1) {
...
}
'content-type' =>
array(1) {
...
}
}
}
protected $response =>
class Symfony\Component\HttpFoundation\RedirectResponse#380 (7) {
protected $targetUrl =>
string(25) "http://localhost/article/"
public $headers =>
class Symfony\Component\HttpFoundation\ResponseHeaderBag#381 (5) {
protected $computedCacheControl =>
array(1) {
...
}
protected $cookies =>
array(0) {
...
}
protected $headerNames =>
array(4) {
...
}
protected $headers =>
array(4) {
...
}
protected $cacheControl =>
array(0) {
...
}
}
protected $content =>
string(344) "<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="1;url=http://localhost/article/" />
<title>Redirecting to http://localhost/article/</title>
</head>
<body>
Redirecting to <a href="http://localhost/article/">http://localhost/article/</a>.
</body>
</html>"
protected $version =>
string(3) "1.1"
protected $statusCode =>
int(301)
protected $statusText =>
string(17) "Moved Permanently"
protected $charset =>
string(5) "UTF-8"
}
protected $crawler =>
class Symfony\Component\DomCrawler\Crawler#312 (5) {
protected $uri =>
string(24) "http://localhost/article"
private $defaultNamespacePrefix =>
string(7) "default"
private $namespaces =>
array(0) {
}
private $baseHref =>
string(24) "http://localhost/article"
private $storage =>
array(1) {
'000000000b17635d0000000001e0de64' =>
array(2) {
...
}
}
}
protected $insulated =>
bool(false)
protected $redirect =>
string(25) "http://localhost/article/"
protected $followRedirects =>
bool(false)
private $maxRedirects =>
int(-1)
private $redirectCount =>
int(0)
private $isMainRequest =>
bool(true)
}
Partager