PHP 클래스 AppserverIo\Appserver\Core\Api\Node\AppNode

상속: extends AppserverIo\Description\Api\Node\AbstractNode, implements AppserverIo\Appserver\Core\Api\Node\AppNodeInterface
파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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