PhpBrew\Testing\TemporaryFileFixture::__construct PHP Method

__construct() public method

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