1 | <?php |
||
32 | class Constants |
||
33 | { |
||
34 | |||
35 | /** |
||
36 | * The key for the principal stored in the session. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | const PRINCIPAL = 'appserver_io.psr.security.utils.principal'; |
||
41 | |||
42 | /** |
||
43 | * The key for a complete form request stored in the session. |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | const FORM_REQUEST = 'appserver_io.psr.security.utils.form_request'; |
||
48 | |||
49 | /** |
||
50 | * The key for the form errors stored in the session. |
||
51 | * |
||
52 | * @var string |
||
53 | */ |
||
54 | const FORM_ERRORS = 'appserver_io.psr.security.utils.form_errors'; |
||
55 | |||
56 | /** |
||
57 | * This is a utility class, so protect it against direct instantiation. |
||
58 | */ |
||
59 | private function __construct() |
||
62 | |||
63 | /** |
||
64 | * This is a utility class, so protect it against cloning. |
||
65 | * |
||
66 | * @return void |
||
67 | */ |
||
68 | private function __clone() |
||
71 | } |
||
72 |