コード例 #1
0
ファイル: PathTest.class.php プロジェクト: johannes85/core
 public function real_with_array()
 {
     $folder = $this->existingFolder();
     $this->assertEquals($folder->path, Path::real([$folder->path, '.', $folder->dirname, '..'])->toString());
 }
コード例 #2
0
 /**
  * Execute action
  *
  * @return  void
  */
 public function perform()
 {
     $this->archive->open(Archive::CREATE);
     $this->addAll($this->getArguments(), Path::real(getcwd()));
     $this->archive->create();
 }