class Foo
{
--------
const BAR = 42;
--------
}
Or in a comma separated constant defintion:
class Foo
{
--------
const BAR = 42,
--------
--------------
const BAZ = 'Foobar',
--------------
----------
const FOO = 3.14;
----------
}
public buildAstConstantDeclarator ( string $image ) : PDepend\Source\AST\ASTConstantDeclarator | ||
$image | string | The source code image for this node. |
return | PDepend\Source\AST\ASTConstantDeclarator |