https://www.php.net/manual/en/reflectionattribute.gettarget.php
https://www.php.net/manual/en/class.reflectionattribute.php#reflectionattribute.constants.is-instanceof
https://www.php.net/manual/en/reflectionattribute.gettarget.php
There are a number of attributes you can give a class, TARGET_* and you
will get the sum of all those targets as an unified bit value. 0 if none
of the TARGET_* are set.
https://www.php.net/manual/en/class.reflectionattribute.php#reflectionattribute.constants.is-instanceof
this will give you something like typeof for the instance in question.
Il 13/11/23 07:54, J.O. Aho ha scritto:
https://www.php.net/manual/en/reflectionattribute.gettarget.php
There are a number of attributes you can give a class, TARGET_* and
you will get the sum of all those targets as an unified bit value. 0
if none of the TARGET_* are set.
mmmhhh...
Are you sure?
https://www.php.net/manual/en/class.reflectionattribute.php#reflectionattribute.constants.is-instanceof
this will give you something like typeof for the instance in question.
typeof...???
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 351 |
Nodes: | 16 (2 / 14) |
Uptime: | 28:59:08 |
Calls: | 7,634 |
Files: | 12,796 |
Messages: | 5,688,779 |