AppserverIo\Appserver\Core\Api\Node\AppNodeInterface::getWebappPath PHP Method

getWebappPath() public method

Returns the application's path.
public getWebappPath ( ) : string
return string The application's path
    public function getWebappPath();

Usage Example

 /**
  * Convert's the passed application into a DTO.
  *
  * @param \AppserverIo\Appserver\Core\Api\Node\AppNodeInterface $appNode The application node to convert
  *
  * @return \AppserverIo\Apps\Api\TransferObject\ApplicationOverviewData The DTO
  */
 public function toApplicationOverviewData(AppNodeInterface $appNode)
 {
     $overviewData = new ApplicationOverviewData();
     $overviewData->setId($appNode->getPrimaryKey());
     $overviewData->setName($appNode->getName());
     $overviewData->setWebappPath($appNode->getWebappPath());
     return $overviewData;
 }
All Usage Examples Of AppserverIo\Appserver\Core\Api\Node\AppNodeInterface::getWebappPath
AppNodeInterface