public function buildDocs()
 {
     $services = $this->getRetriever()->retrieve();
     if (empty($services)) {
         return;
     }
     foreach ($services as $service) {
         $serviceGenerator = new ServiceGenerator($service['namespace'], $this->destinationPath . DIRECTORY_SEPARATOR . $service['docPath'], $this->sourcePath . DIRECTORY_SEPARATOR . $service['descPath']);
         $serviceGenerator->buildDocs();
     }
 }
 /**
  * Gets service full class name
  *
  * @return string
  */
 public function getService()
 {
     $serviceGenerator = new ServiceGenerator(['name' => $this->name]);
     $service = $serviceGenerator->getRootNamespace() . '\\' . $serviceGenerator->getName();
     return 'use ' . str_replace(["\\", '/'], '\\', $service) . 'Service;';
 }