Mutagenesis\Mutable::getFilename PHP 메소드

getFilename() 공개 메소드

Return the file path of the file which is currently being assessed for mutations.
public getFilename ( ) : string
리턴 string
    public function getFilename()
    {
        return $this->_filename;
    }

Usage Example

예제 #1
0
 /**
  * @test
  */
 public function shouldMaintainFilePathInfoOncePassedInConstructor()
 {
     $file = new Mutable($this->root . '/foo.php');
     $this->assertEquals($this->root . '/foo.php', $file->getFilename());
 }