src/Zicht/Tool/Container/ContainerBuilder.php
public function createOptNode($path, $node)
    {
        return new OptNode(end($path), $this->exprcompiler->parse($node));
    }
public function createOptNode($path, $node)
    {
        return new OptNode(end($path), $this->exprcompiler->parse($node));
    }
public function createOptNode ( $ path , $ node ) { return new OptNode ( end ( $ path ) , $ this -> exprcompiler -> parse ( $ node ) ) ; }
Creates a node for the 'opts' definition of the task.

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