populate() 공개 메소드

Uses the source file to populate the path provided
public populate ( $outputDir, $sourceFile )
$outputDir The directory at which the content from file is to be populated
$sourceFile The file to use for populating
예제 #1
0
 public function testCanPopulatePathUsingInputFile()
 {
     $scanner = new Scanner(new JsonResponse());
     $scanner->populate($this->basePathToPopulate, $this->sampleJson);
     $this->assertFileExists($this->populatedFile);
 }