public function collect()
    {
        ksort($this->bundles, SORT_FLAG_CASE | SORT_STRING);

        return new Value\SymfonyKernelSystemInfo([
            'environment' => $this->kernel->getEnvironment(),
            'debugMode' => $this->kernel->isDebug(),
            'version' => Kernel::VERSION,
            'bundles' => $this->bundles,
            'rootDir' => $this->kernel->getRootDir(),
            'name' => $this->kernel->getName(),
            'cacheDir' => $this->kernel->getCacheDir(),
            'logDir' => $this->kernel->getLogDir(),
            'charset' => $this->kernel->getCharset(),
        ]);
    }
public function collect()
    {
        ksort($this->bundles, SORT_FLAG_CASE | SORT_STRING);

        return new Value\SymfonyKernelSystemInfo([
            'environment' => $this->kernel->getEnvironment(),
            'debugMode' => $this->kernel->isDebug(),
            'version' => Kernel::VERSION,
            'bundles' => $this->bundles,
            'rootDir' => $this->kernel->getRootDir(),
            'name' => $this->kernel->getName(),
            'cacheDir' => $this->kernel->getCacheDir(),
            'logDir' => $this->kernel->getLogDir(),
            'charset' => $this->kernel->getCharset(),
        ]);
    }
public function collect ( ) { ksort ( $ this -> bundles , SORT_FLAG_CASE | SORT_STRING ) ; return new Value \ SymfonyKernelSystemInfo ( [ 'environment' => $ this -> kernel -> getEnvironment ( ) , 'debugMode' => $ this -> kernel -> isDebug ( ) , 'version' => Kernel :: VERSION , 'bundles' => $ this -> bundles , 'rootDir' => $ this -> kernel -> getRootDir ( ) , 'name' => $ this -> kernel -> getName ( ) , 'cacheDir' => $ this -> kernel -> getCacheDir ( ) , 'logDir' => $ this -> kernel -> getLogDir ( ) , 'charset' => $ this -> kernel -> getCharset ( ) , ] ) ; }
Collects information about the Symfony kernel.

@return Value\SymfonyKernelSystemInfo
Collects information about the Symfony kernel .