protected function validate(array &$data)
    {
        $this->validateVersion();
        $this->validateExtensions();
        $this->validateIni();
        $data = array_merge($data, ['messages' => $this->messages]);
        return $data;
    }
protected function validate(array &$data)
    {
        $this->validateVersion();
        $this->validateExtensions();
        $this->validateIni();
        $data = array_merge($data, ['messages' => $this->messages]);
        return $data;
    }
protected function validate ( array & $ data ) { $ this -> validateVersion ( ) ; $ this -> validateExtensions ( ) ; $ this -> validateIni ( ) ; $ data = array_merge ( $ data , [ 'messages' => $ this -> messages ] ) ; return $ data ; }
validates server environment

@param array $data
@return array
validates server environment