public function initFromApplication(ApplicationInterface $application)
    {
        $this->setNodeName(self::NODE_NAME);
        $this->name = $application->getName();
        $this->webappPath = $application->getWebappPath();
        $this->setUuid($this->newUuid());
    }
public function initFromApplication(ApplicationInterface $application)
    {
        $this->setNodeName(self::NODE_NAME);
        $this->name = $application->getName();
        $this->webappPath = $application->getWebappPath();
        $this->setUuid($this->newUuid());
    }
public function initFromApplication ( ApplicationInterface $ application ) { $ this -> setNodeName ( self :: NODE_NAME ) ; $ this -> name = $ application -> getName ( ) ; $ this -> webappPath = $ application -> getWebappPath ( ) ; $ this -> setUuid ( $ this -> newUuid ( ) ) ; }
Will initialize an existing app node from a given application

@param ApplicationInterface $application The application to init from

@return null
Will initialize an existing app node from a given application