PHP Class AppserverIo\Appserver\Core\Api\Node\AppNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\AppNodeInterface
Afficher le fichier Open project: appserver-io/appserver Class Usage Examples

Protected Properties

Свойство Type Description
$name string The unique application name.
$webappPath string The application's path.

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

getName() public méthode

Returns the application name.
public getName ( ) : string
Résultat string The unique application name

getWebappPath() public méthode

Returns the application's path.
public getWebappPath ( ) : string
Résultat string The application's path

initFromApplication() public méthode

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
Résultat null

Property Details

$name protected_oe property

The unique application name.
protected string $name
Résultat string

$webappPath protected_oe property

The application's path.
protected string $webappPath
Résultat string