ManaPHP\Store::__construct PHP Метод

__construct() публичный Метод

Store constructor.
public __construct ( string | array | ManaPHP\Store\AdapterInterface $options = [] )
$options string | array | ManaPHP\Store\AdapterInterface
    public function __construct($options = [])
    {
        if (is_string($options) || is_object($options)) {
            $options = ['adapter' => $options];
        }
        $this->adapter = $options['adapter'];
        if (isset($options['prefix'])) {
            $this->_prefix = $options['prefix'];
        }
    }