AutoMake.php 361 B

123456789101112131415161718192021
  1. <?php
  2. namespace app\crud\make;
  3. use app\crud\make\ToAutoMake;
  4. class AutoMake
  5. {
  6. protected $create;
  7. public function executeText(ToAutoMake $obj)
  8. {
  9. $this->create = $obj;
  10. }
  11. public function executeCreate($flag, $path, $other)
  12. {
  13. $this->create->check($flag, $path);
  14. $this->create->make($flag, $path, $other);
  15. }
  16. }