@abstract
Document an abstract class, class variable or method
Gregory Beaver
Copyright 2002, Gregory Beaver
(phpDocumentor 1.1+)
@abstract
Description
Use the @abstract tag to declare a method, class variable, or class that must be re-defined in a child class to be valid.
The @abstract tag is only valid in PHP 4, PHP 5 has a keyword abstract.
Example
Here's an example:
- /**
- * example of basic @abstract usage in a class
- * Use this if every single element of the class is abstract
- * @abstract
- */
- class myabstractclass
- {
- function function1($baz)
- {
- ...
- }
-
- function function2()
- {
- ...
- }
- }