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');
    }
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');
    }
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' ) ; }
Transforms the given project into a series of artifacts as provided by the templates.

@param ProjectDescriptor $project

@return void
Transforms the given project into a series of artifacts as provided by the templates .