AppserverIo\Appserver\Core\Api\Node\AbstractArgsNode::getArg PHP 메소드

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
    public function getArg($name)
    {
        $args = $this->getArgsAsArray();
        if (array_key_exists($name, $args)) {
            return $args[$name];
        }
    }