public function real_with_array() { $folder = $this->existingFolder(); $this->assertEquals($folder->path, Path::real([$folder->path, '.', $folder->dirname, '..'])->toString()); }
/** * Execute action * * @return void */ public function perform() { $this->archive->open(Archive::CREATE); $this->addAll($this->getArguments(), Path::real(getcwd())); $this->archive->create(); }