Re: Class and interface location
| From: | David Harkness | Date: | Wed, 19 Jan 2011 21:44:01 +0000 |
| Subject: | Re: Class and interface location | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310885@lists.php.net to get a copy of this message | ||
What about creating your own docblock tag such as @plugin-interface? While
it still requires each plugin to explicitly define the interface(s) it
implements, it won't be in the class declaration. This would be very easy to
nab for a tree of files using grep, removing the need to do any static
analysis or parse PHP code.
David