PHP Интерфейс AppserverIo\Appserver\Core\Api\Node\DatasourceNodeInterface

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Configuration\Interfaces\NodeInterface
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getContainerName ( ) : string Return's the name of the container which can use this datasource
getDatabase ( ) : DatabaseNode Return's the database connection information.
getName ( ) : string | null Return's the unique datasource name.
getType ( ) : string | null Return's the datasource's type.
setContainerName ( string | null $containerName ) : void Set's the name of the container which can use this datasource.

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

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

Return's the name of the container which can use this datasource
public getContainerName ( ) : string
Результат string

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

Return's the database connection information.
public getDatabase ( ) : DatabaseNode
Результат DatabaseNode The database connection information

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

Return's the unique datasource name.
public getName ( ) : string | null
Результат string | null The unique datasource name

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

Return's the datasource's type.
public getType ( ) : string | null
Результат string | null The datasource type

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

Set's the name of the container which can use this datasource.
public setContainerName ( string | null $containerName ) : void
$containerName string | null The name of the container
Результат void