| 1 | <?php |
||
| 6 | class xKerman_Restricted_IntegerHandler implements xKerman_Restricted_HandlerInterface |
||
|
|
|||
| 7 | { |
||
| 8 | /** |
||
| 9 | * parse given `$source` as PHP serialized integer |
||
| 10 | * |
||
| 11 | * @param Source $source parser input |
||
| 12 | * @param string $args integer value |
||
| 13 | * @return array |
||
| 14 | * @throws UnserializeFailedException |
||
| 15 | */ |
||
| 16 | public function handle(xKerman_Restricted_Source $source, $args) |
||
| 20 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.