|
Revision 1296, 1.2 kB
(checked in by richi, 4 months ago)
|
fixed coding standard issues (var docblock)
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
stubClassLoader::load('net::stubbles::reflection::annotations::stubAnnotation', |
|---|
| 10 |
'net::stubbles::reflection::annotations::stubAbstractAnnotation' |
|---|
| 11 |
); |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
class stubXMLStrategyAnnotation extends stubAbstractAnnotation implements stubAnnotation |
|---|
| 21 |
{ |
|---|
| 22 |
|
|---|
| 23 |
* The strategy to use for this class |
|---|
| 24 |
* |
|---|
| 25 |
* @var int |
|---|
| 26 |
*/ |
|---|
| 27 |
protected $value; |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
* Set the value of the annotation |
|---|
| 31 |
* |
|---|
| 32 |
* @param int $value |
|---|
| 33 |
*/ |
|---|
| 34 |
public function setValue($value) |
|---|
| 35 |
{ |
|---|
| 36 |
$this->value = $value; |
|---|
| 37 |
} |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
* Get the value of the annotation |
|---|
| 41 |
* |
|---|
| 42 |
* @return int |
|---|
| 43 |
*/ |
|---|
| 44 |
public function getValue() |
|---|
| 45 |
{ |
|---|
| 46 |
return $this->value; |
|---|
| 47 |
} |
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
* Returns the target of the annotation as bitmap. |
|---|
| 51 |
* |
|---|
| 52 |
* @return int |
|---|
| 53 |
*/ |
|---|
| 54 |
public function getAnnotationTarget() |
|---|
| 55 |
{ |
|---|
| 56 |
return stubAnnotation::TARGET_CLASS; |
|---|
| 57 |
} |
|---|
| 58 |
} |
|---|
| 59 |
?> |
|---|