Ticket #92 (closed refactoring: fixed)
Create a new interface stubAnnotatable
| Reported by: | mikey | Owned by: | mikey |
|---|---|---|---|
| Priority: | major | Milestone: | 0.4.0 |
| Component: | core | Version: | SVN-trunk |
| Keywords: | Cc: |
Description (last modified by mikey) (diff)
A new interface stubAnnotatable should be created containing two methods: public function hasAnnotation($annotationName); public function getAnnotation($annotationName); The following classes should implement this interface: stubReflectionClass stubReflectionObject stubReflectionFunction stubReflectionMethod stubReflectionProperty Both methods already exist in the stubBaseReflectionClass interface and will be removed from there.
The new interface will help to detect whether a reflected structure may have annotations or not.
Change History
Note: See
TracTickets for help on using
tickets.
