PhpBrew\Testing\TemporaryFileFixture::__construct PHP 메소드

__construct() 공개 메소드

$caller must be a subclass of PHPUnit_Framework_TestCase.
public __construct ( object $caller, string $sourcePath )
$caller object the object which creates this object.
$sourcePath string the path of a source file.
    public function __construct($caller, $sourcePath)
    {
        $this->caller = $caller;
        $this->sourcePath = $sourcePath;
        $this->temporaryDirectory = Config::getTempFileDir();
    }