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