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());
 }