PDepend\Source\Language\PHP\PHPBuilder::buildAstSwitchLabel PHP Method

buildAstSwitchLabel() public method

Builds a new switch-label node.
Since: 0.9.8
public buildAstSwitchLabel ( string $image ) : PDepend\Source\AST\ASTSwitchLabel
$image string The source image of this label.
return PDepend\Source\AST\ASTSwitchLabel
    public function buildAstSwitchLabel($image)
    {
        return $this->buildAstNodeInstance('ASTSwitchLabel', $image);
    }
PHPBuilder