PHP Класс AppserverIo\Appserver\Core\Api\Node\AppNode

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\AppNodeInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$name string The unique application name.
$webappPath string The application's path.

Открытые методы

Метод Описание
__construct ( string $name = '', string $webappPath = '' ) Default constructor
getName ( ) : string Returns the application name.
getWebappPath ( ) : string Returns the application's path.
initFromApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : null Will initialize an existing app node from a given application

Описание методов

__construct() публичный метод

Default constructor
public __construct ( string $name = '', string $webappPath = '' )
$name string Name of the webapp
$webappPath string Path to the webapp

getName() публичный метод

Returns the application name.
public getName ( ) : string
Результат string The unique application name

getWebappPath() публичный метод

Returns the application's path.
public getWebappPath ( ) : string
Результат string The application's path

initFromApplication() публичный метод

Will initialize an existing app node from a given application
public initFromApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : null
$application AppserverIo\Psr\Application\ApplicationInterface The application to init from
Результат null

Описание свойств

$name защищенное свойство

The unique application name.
protected string $name
Результат string

$webappPath защищенное свойство

The application's path.
protected string $webappPath
Результат string