protected function getPath()
 {
     $layout = $this->cache->getValue('layout');
     if (empty($layout)) {
         return parent::getPath();
     } else {
         return str_replace('scaffold', $layout, parent::getPath());
     }
 }
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(TestGenerator $generator)
 {
     parent::__construct();
     $this->generator = $generator;
 }
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(FormDumperGenerator $generator)
 {
     parent::__construct();
     $this->generator = $generator;
 }
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(ControllerGenerator $generator)
 {
     parent::__construct();
     $this->generator = $generator;
 }
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct(ControllerGenerator $generator, Cache $cache)
 {
     parent::__construct();
     $this->generator = $generator;
     $this->cache = $cache;
 }