示例#1
0
 protected function writeFileWatch(Build $builder, Generate\Collections $collections)
 {
     foreach ($collections->getFiles() as $file) {
         $builder->watch($file);
         $builder->watch(dirname($file));
     }
 }
示例#2
0
 protected function generateIfNeeded()
 {
     $build = new Build(__FILE__, $this->loader . '.tmp');
     $file = $build->build('activemongo2', $this->loader, $this->path, array('loader' => $this->loader));
 }