Esempio n. 1
0
 /**
  * {@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));
 }
Esempio n. 2
0
 /**
  * @inheritdoc
  */
 public function extractMembers($members, $toDirectory = null)
 {
     $this->adapter->extractMembers($this->resource, $members, $toDirectory);
     return $this;
 }