public function __construct(DataStore\Memory $dataStore = null) { if (empty($dataStore)) { $dataStore = new DataStore\Memory(); } parent::__construct($dataStore); }
public function __construct(DataStoresInterface $dataStores, DataStoresInterface $cdsManagerStore, DataStoresInterface $cds) { $this->cdsManagerStore = $cdsManagerStore; $this->cds = $cds; parent::__construct($dataStores); }