public function __construct(Adapter $adapter, $target_type_object = '', $target_columns = array(), $id_changedby = '', $genPath = '') { parent::__construct($adapter, $id_changedby, $genPath); if ($target_type_object) { $this->setTargetTypeObject($target_type_object); } if ($target_columns) { $this->setTargetColumns($target_columns); } }
public function __construct(Adapter $adapter, StorageInterface $cache, $id_changedby = '', $genPath = '') { parent::__construct($adapter, $id_changedby, $genPath); $this->cache = $cache; }