Pop\Data\Data::getFile PHP Method

getFile() public method

Get the file stream
public getFile ( ) : string
return string
    public function getFile()
    {
        return $this->file;
    }

Usage Example

コード例 #1
0
ファイル: DataTest.php プロジェクト: nicksagona/PopPHP
 public function testGetFile()
 {
     $d = new Data(__DIR__ . '/../tmp/test.sql');
     $this->assertContains('INSERT INTO', $d->getFile());
 }