public function collect()
    {
        $properties = [
            'version' => PHP_VERSION,
            'acceleratorEnabled' => false,
        ];

        if ($this->ezcSystemInfo->phpAccelerator) {
            $properties = array_merge(
                $properties,
                [
                    'acceleratorEnabled' => $this->ezcSystemInfo->phpAccelerator->isEnabled,
                    'acceleratorName' => $this->ezcSystemInfo->phpAccelerator->name,
                    'acceleratorURL' => $this->ezcSystemInfo->phpAccelerator->url,
                    'acceleratorVersion' => $this->ezcSystemInfo->phpAccelerator->versionString,
                ]
            );
        }

        return new Value\PhpSystemInfo($properties);
    }
public function collect()
    {
        $properties = [
            'version' => PHP_VERSION,
            'acceleratorEnabled' => false,
        ];

        if ($this->ezcSystemInfo->phpAccelerator) {
            $properties = array_merge(
                $properties,
                [
                    'acceleratorEnabled' => $this->ezcSystemInfo->phpAccelerator->isEnabled,
                    'acceleratorName' => $this->ezcSystemInfo->phpAccelerator->name,
                    'acceleratorURL' => $this->ezcSystemInfo->phpAccelerator->url,
                    'acceleratorVersion' => $this->ezcSystemInfo->phpAccelerator->versionString,
                ]
            );
        }

        return new Value\PhpSystemInfo($properties);
    }
public function collect ( ) { $ properties = [ 'version' => PHP_VERSION , 'acceleratorEnabled' => false , ] ; if ( $ this -> ezcSystemInfo -> phpAccelerator ) { $ properties = array_merge ( $ properties , [ 'acceleratorEnabled' => $ this -> ezcSystemInfo -> phpAccelerator -> isEnabled , 'acceleratorName' => $ this -> ezcSystemInfo -> phpAccelerator -> name , 'acceleratorURL' => $ this -> ezcSystemInfo -> phpAccelerator -> url , 'acceleratorVersion' => $ this -> ezcSystemInfo -> phpAccelerator -> versionString , ] ) ; } return new Value \ PhpSystemInfo ( $ properties ) ; }
Collects information about the PHP installation eZ Platform is using.
- php version
- php accelerator info.

@return Value\PhpSystemInfo
Collects information about the PHP installation eZ Platform is using . - php version - php accelerator info .