getFilePath() public method

Returns the path of the current zip file if there is one.
public getFilePath ( ) : string
return string The path to the file
Beispiel #1
0
 public function testMake()
 {
     $this->assertEquals('ArrayArchive', $this->archive->getArchiveType());
     $this->assertEquals('foo', $this->archive->getFilePath());
 }
Beispiel #2
0
 /**
  * Returns the path of the current zip file if there is one.
  *
  * @return string The path to the file
  * @static 
  */
 public static function getFilePath()
 {
     return \Chumper\Zipper\Zipper::getFilePath();
 }