public function collectDataServices(array $services) {
    $todo_services = [];
    foreach ($services as $priority => $allservices) {
      /*
       * @var integer $key
       * @var OpenyDataServiceInterface $service
       */
      foreach ($allservices as $key => $service) {
        foreach ($service->addDataServices($todo_services) as $method) {
          $this->services[$method][$priority] = $service;
          krsort($this->services[$method]);
        }
      }
    }
  }
public function collectDataServices(array $services) {
    $todo_services = [];
    foreach ($services as $priority => $allservices) {
      /*
       * @var integer $key
       * @var OpenyDataServiceInterface $service
       */
      foreach ($allservices as $key => $service) {
        foreach ($service->addDataServices($todo_services) as $method) {
          $this->services[$method][$priority] = $service;
          krsort($this->services[$method]);
        }
      }
    }
  }
public function collectDataServices ( array $ services ) { $ todo_services = [ ] ; foreach ( $ services as $ priority => $ allservices ) { /*
       * @var integer $key
       * @var OpenyDataServiceInterface $service
       */ foreach ( $ allservices as $ key => $ service ) { foreach ( $ service -> addDataServices ( $ todo_services ) as $ method ) { $ this -> services [ $ method ] [ $ priority ] = $ service ; krsort ( $ this -> services [ $ method ] ) ; } } } }
Setter for services tagged with 'openy_data_service' tag.

@param array $services
Services.
Setter for services tagged with openy_data_service tag .