Ticket #92 (closed refactoring: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Changed 3 years ago by mikey

This is a requirement for enhancement #91.

Changed 3 years ago by mikey

  • description modified (diff)

Changed 3 years ago by mikey

  • status changed from new to closed
  • resolution set to fixed

Refactored with changeset 1016.

Note: See TracTickets for help on using tickets.