File: class_constants.php

package info (click to toggle)
phploc 7.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 556 kB
  • sloc: php: 2,383; xml: 121; makefile: 22
file content (10 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
<?php

class ClassConstants
{
    const IMPLICITLY_PUBLIC_CONSTANT = 'implicitly public';
    public const EXPLICITLY_PUBLIC_CONSTANT = 'explicitly public';
    private /* a comment might be here */ const COMMENT_IN_DEFINTION = 'comment in definition';
    private const PRIVATE_CONSTANT = 'private';
    protected const PROTECTED_CONSTANT = 'protected';
}