| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentCart\OpenSpout\Common\Manager; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface OptionsManagerInterface. |
| 7 |
*/ |
| 8 |
interface OptionsManagerInterface |
| 9 |
{ |
| 10 |
/** |
| 11 |
* @param string $optionName |
| 12 |
* @param mixed $optionValue |
| 13 |
*/ |
| 14 |
public function setOption($optionName, $optionValue); |
| 15 |
/** |
| 16 |
* @param string $optionName |
| 17 |
* |
| 18 |
* @return null|mixed The set option or NULL if no option with given name found |
| 19 |
*/ |
| 20 |
public function getOption($optionName); |
| 21 |
/** |
| 22 |
* Add an option to the internal list of options |
| 23 |
* Used only for mergeCells() for now. |
| 24 |
* |
| 25 |
* @param mixed $optionName |
| 26 |
* @param mixed $optionValue |
| 27 |
*/ |
| 28 |
public function addOption($optionName, $optionValue); |
| 29 |
} |
| 30 |
|