/** * {@inheritdoc} */ public function extract($to = null, $overwrite = false) { $this->adapter->extractMembers($this->resource, $this->location, $to, (bool) $overwrite); return new \SplFileInfo(sprintf('%s%s', rtrim(null === $to ? getcwd() : $to, '/'), $this->location)); }
/** * @inheritdoc */ public function extractMembers($members, $toDirectory = null) { $this->adapter->extractMembers($this->resource, $members, $toDirectory); return $this; }