setInputFile() 공개 메소드

Set input file path
public setInputFile ( string $path ) : Factory
$path string Path to file
리턴 Factory
예제 #1
0
 public function testNonExistantProcessor()
 {
     $path = dirname(__FILE__) . '/../project/.phrozn/entries/';
     $input = $path . '2011-02-24-wrong-file-type.wrong';
     $factory = new Factory();
     $view = $factory->setInputFile($input)->create();
     $this->assertInstanceOf('\\Phrozn\\Site\\View\\Plain', $view);
 }