ReflectionClass::getConstants()
2 posts
• Page 1 of 1
ReflectionClass::getConstants()
When I call:
on any object, it will end up like
Error: Call to undefined method: ReflectionClass::getConstants() in xxxxx
I can see, that there is getConstants method defined in PHP.Library.SPL.ReflectionClass, but in runtime it seem to be inaccessible.
- Code: Select all
$r = new ReflectionClass($this);
$r->getConstants();
on any object, it will end up like
Error: Call to undefined method: ReflectionClass::getConstants() in xxxxx
I can see, that there is getConstants method defined in PHP.Library.SPL.ReflectionClass, but in runtime it seem to be inaccessible.
Jan Pospíšil
-<{Pospa}>-
-<{Pospa}>-
-
pospa - Posts: 2
- Joined: November 21st, 2012, 12:35 pm
Re: ReflectionClass::getConstants()
I see, there is missing
Will be fixed in public repo.
Thanks!
- Code: Select all
[ImplementsMethod]
- Code: Select all
public virtual object getConstants(ScriptContext context)
Will be fixed in public repo.
Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests