spout/src/Spout/Common/Manager/OptionsManagerInterface.php
Adrien Loison 1021dad230 Refactor readers to get a proper DI
Similar to what was done with writers, readers also needed to be updated to match the new way of doing things.
This commits promotes a better DI (factories, injection through constructors).
2017-08-26 23:09:46 +02:00

25 lines
505 B
PHP

<?php
namespace Box\Spout\Common\Manager;
/**
* Interface OptionsManagerInterface
*
* @package Box\Spout\Common\Manager
*/
interface OptionsManagerInterface
{
/**
* @param string $optionName
* @param mixed $optionValue
* @return void
*/
public function setOption($optionName, $optionValue);
/**
* @param string $optionName
* @return mixed|null The set option or NULL if no option with given name found
*/
public function getOption($optionName);
}