예제 #1
0
파일: generators.php 프로젝트: bermi/akelos
 public function runGeneratorCommand($command)
 {
     ob_start();
     $Generator = new AkelosGenerator();
     $Generator->setFileOptions(array('base_path' => AK_FRAMEWORK_DIR));
     $Generator->runCommand($command);
     $result = ob_get_clean();
     //AK::trace($result);
     return $result;
 }