| 1 | <?php |
||
| 11 | class ConstantDocSniff extends AbstractDocSniff |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Returns which tokens should be listened to. |
||
| 15 | * |
||
| 16 | * @return int[] List of tokens which should be listened to |
||
| 17 | */ |
||
| 18 | 26 | public function getListenedTokens() |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Returns allowed tag metadata. |
||
| 27 | * |
||
| 28 | * The order in which they appear in this array os the order for tags needed. |
||
| 29 | * |
||
| 30 | * @return array List of tag metadata |
||
| 31 | */ |
||
| 32 | 48 | public function getTagMetadata() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Returns an array of disallowed tokens. |
||
| 44 | * |
||
| 45 | * @return array List of disallowed tags |
||
| 46 | */ |
||
| 47 | 48 | public function getDisallowedTags() |
|
| 79 | } |
||
| 80 |