src/Zicht/Tool/Container/ContainerBuilder.php
public function createArgNode($path, $node)
    {
        $v = trim($node);
        if (substr($v, 0, 1) == '?') {
            $conditional = true;
            $v = ltrim(substr($v, 1));
        } else {
            $conditional = false;
        }
        return new ArgNode(end($path), $this->exprcompiler->parse($v), $conditional);
    }
public function createArgNode($path, $node)
    {
        $v = trim($node);
        if (substr($v, 0, 1) == '?') {
            $conditional = true;
            $v = ltrim(substr($v, 1));
        } else {
            $conditional = false;
        }
        return new ArgNode(end($path), $this->exprcompiler->parse($v), $conditional);
    }
public function createArgNode ( $ path , $ node ) { $ v = trim ( $ node ) ; if ( substr ( $ v , 0 , 1 ) == '?' ) { $ conditional = true ; $ v = ltrim ( substr ( $ v , 1 ) ) ; } else { $ conditional = false ; } return new ArgNode ( end ( $ path ) , $ this -> exprcompiler -> parse ( $ v ) , $ conditional ) ; }
Creates a node for the 'args' definition of the task.

@param array $path
@param string $node
@return \Zicht\Tool\Script\Node\Task\ArgNode
Creates a node for the args definition of the task .