Task/ReportServiceData.php
protected function loadServiceData() {
    if (!isset($this->serviceData)) {
      $this->serviceData = $this->environment->getStorage()->retrieve('services');
    }

    // Populate the keys, in case analysis crashed.
    $this->serviceData += [
      'primary' => [],
      'all' => [],
    ];

    return $this->serviceData;
  }
protected function loadServiceData() {
    if (!isset($this->serviceData)) {
      $this->serviceData = $this->environment->getStorage()->retrieve('services');
    }

    // Populate the keys, in case analysis crashed.
    $this->serviceData += [
      'primary' => [],
      'all' => [],
    ];

    return $this->serviceData;
  }
protected function loadServiceData ( ) { if ( ! isset ( $ this -> serviceData ) ) { $ this -> serviceData = $ this -> environment -> getStorage ( ) -> retrieve ( 'services' ) ; } // Populate the keys, in case analysis crashed. $ this -> serviceData += [ 'primary' => [ ] , 'all' => [ ] , ] ; return $ this -> serviceData ; }
Loads the service data from storage.

@return
The data array, as stored by the ServicesCollector.
Loads the service data from storage .