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

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

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

Свойство Тип Описание
$args array The script args to use.

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

Метод Описание
attachArg ( ArgNode $arg ) : void Attaches the passed arg to the list.
getArg ( string $name ) : mixed Returns the arg with the passed name casted to the specified type.
getArgs ( ) : array Array with the args to use.
getArgsAsArray ( ) : array Returns the args casted to the defined type as associative array.

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

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

Attaches the passed arg to the list.
public attachArg ( ArgNode $arg ) : void
$arg ArgNode The arg to attach
Результат void

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

Returns the arg with the passed name casted to the specified type.
public getArg ( string $name ) : mixed
$name string The name of the arg to be returned
Результат mixed The requested arg casted to the specified type

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

Array with the args to use.
public getArgs ( ) : array
Результат array

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

Returns the args casted to the defined type as associative array.
public getArgsAsArray ( ) : array
Результат array The array with the casted args

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

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

The script args to use.
protected array $args
Результат array