original_string: public function execute(ProjectDescriptor $project)
      {
          Dispatcher::getInstance()->dispatch(
              self::EVENT_PRE_TRANSFORM,
              PreTransformEvent::createInstance($this)->setProject($project)
          );
  
          $transformations = $this->getTemplates()->getTransformations();
          $this->initializeWriters($project, $transformations);
          $this->transformProject($project, $transformations);
  
          Dispatcher::getInstance()->dispatch(self::EVENT_POST_TRANSFORM, PostTransformEvent::createInstance($this));
  
          $this->log('Finished transformation process');
      }
code: public function execute(ProjectDescriptor $project)
      {
          Dispatcher::getInstance()->dispatch(
              self::EVENT_PRE_TRANSFORM,
              PreTransformEvent::createInstance($this)->setProject($project)
          );
  
          $transformations = $this->getTemplates()->getTransformations();
          $this->initializeWriters($project, $transformations);
          $this->transformProject($project, $transformations);
  
          Dispatcher::getInstance()->dispatch(self::EVENT_POST_TRANSFORM, PostTransformEvent::createInstance($this));
  
          $this->log('Finished transformation process');
      }
code_tokens: public function execute ( ProjectDescriptor $ project ) { Dispatcher :: getInstance ( ) -> dispatch ( self :: EVENT_PRE_TRANSFORM , PreTransformEvent :: createInstance ( $ this ) -> setProject ( $ project ) ) ; $ transformations = $ this -> getTemplates ( ) -> getTransformations ( ) ; $ this -> initializeWriters ( $ project , $ transformations ) ; $ this -> transformProject ( $ project , $ transformations ) ; Dispatcher :: getInstance ( ) -> dispatch ( self :: EVENT_POST_TRANSFORM , PostTransformEvent :: createInstance ( $ this ) ) ; $ this -> log ( 'Finished transformation process' ) ; }
docstring: Transforms the given project into a series of artifacts as provided by the templates.
  
  @param ProjectDescriptor $project
  
  @return void
docstring_tokens: Transforms the given project into a series of artifacts as provided by the templates .