Exemplo n.º 1
0
 public function generate()
 {
     parent::generate();
     $this->load();
     $this->writeBeforeServices();
     foreach ($this->_services as $serviceReflector) {
         $this->writeBeforeService($serviceReflector);
         $this->writeService($serviceReflector);
         $this->writeAfterService($serviceReflector);
     }
     $this->writeAfterServices();
 }
Exemplo n.º 2
0
 /**
  * (non-PHPdoc)
  * @see ClientGeneratorFromPhp::generate()
  */
 public function generate()
 {
     parent::generate();
     foreach ($this->_services as $serviceId => $serviceActionItem) {
         /* @var $serviceActionItem KalturaServiceActionItem */
         if ($serviceActionItem->serviceInfo->deprecated) {
             continue;
         }
         $this->writeBeforeService($serviceActionItem);
         $this->writeService($serviceActionItem);
         $this->writeAfterService($serviceActionItem);
     }
 }