PHP Class Trismegiste\Mondrian\Tests\Refactor\VirtualPhpDumper

Inheritance: extends Trismegiste\Mondrian\Parser\PhpDumper, implements IteratorAggregate
Show file Open project: trismegiste/mondrian

Protected Properties

Property Type Description
$directory
$invocationMocker
$storage
$testCase

Public Methods

Method Description
__construct ( PHPUnit_Framework_TestCase $testCase, $baseDir ) Init VFS
compileStorage ( ) Compile VFS
getIterator ( )
init ( array $fileSystem, PHPUnit_Framework_MockObject_Matcher_Invocation $cptWrite )
verifyCalls ( )
write ( PhpFile $file ) Stub for writes

Protected Methods

Method Description
getMockFile ( $absolute, $content )

Method Details

__construct() public method

Init VFS
public __construct ( PHPUnit_Framework_TestCase $testCase, $baseDir )
$testCase PHPUnit_Framework_TestCase

compileStorage() public method

Compile VFS
public compileStorage ( )

getIterator() public method

public getIterator ( )

getMockFile() protected method

protected getMockFile ( $absolute, $content )

init() public method

public init ( array $fileSystem, PHPUnit_Framework_MockObject_Matcher_Invocation $cptWrite )
$fileSystem array
$cptWrite PHPUnit_Framework_MockObject_Matcher_Invocation

verifyCalls() public method

public verifyCalls ( )

write() public method

Stub for writes
public write ( PhpFile $file )
$file Trismegiste\Mondrian\Parser\PhpFile

Property Details

$directory protected property

protected $directory

$invocationMocker protected property

protected $invocationMocker

$storage protected property

protected $storage

$testCase protected property

protected $testCase