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

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

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

Свойство Тип Описание
$appBase string The application base directory.
$deployBase string The deployment base directory.
$name string The host name.
$tmpBase string The temporary base directory.

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

Метод Описание
__construct ( string $name = '', string $appBase = 'webapps', string $tmpBase = 'var/tmp', string $deployBase = 'deploy' ) Initializes the node with the passed data.
getAppBase ( ) : string Returns the application base directory.
getDeployBase ( ) : string Returns the deployment base directory.
getDirectories ( ) : array Return's the host's directories, e. g. to be created.
getName ( ) : string Returns the host name.
getTmpBase ( ) : string Returns the temporary base directory.

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

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

Initializes the node with the passed data.
public __construct ( string $name = '', string $appBase = 'webapps', string $tmpBase = 'var/tmp', string $deployBase = 'deploy' )
$name string The host name
$appBase string The application base directory
$tmpBase string The temporary base directory
$deployBase string The deployment base directory

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

Returns the application base directory.
public getAppBase ( ) : string
Результат string The application base directory

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

Returns the deployment base directory.
public getDeployBase ( ) : string
Результат string The deployment base directory

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

Return's the host's directories, e. g. to be created.
public getDirectories ( ) : array
Результат array The array with the host's directories

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

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

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

Returns the temporary base directory.
public getTmpBase ( ) : string
Результат string The temporary base directory

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

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

The application base directory.
protected string $appBase
Результат string

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

The deployment base directory.
protected string $deployBase
Результат string

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

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

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

The temporary base directory.
protected string $tmpBase
Результат string