Whereas the base Phrocco class operates on a single file to produce a single output, This class looks after recursively iterating over a directory and creating an output for each file found.
Author: Ross Riley
Beispiel #1
0
 /**
  * Test of the basic class loader. This description also performs a use as a test comment.
  **/
 public function testDirectoryScan()
 {
     $group = new PhroccoGroup(["i" => __DIR__]);
     $group->process();
     $this->assertEquals(count($group->sources), 3);
     foreach ($group->group as $file => $handler) {
         $this->assertInstanceOf("Phrocco\\Phrocco", $handler);
     }
 }