chore(symfony): Create a Symfony Command for new endpoints files creation (#228)
* initiate branch * recopied Command functionnality to test lib * create entry point * fix naming issue with repositories * added relative path display in CLI comment * added newlines at EOF * Update composer.json Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Model/FileTemplate.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreQueryArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/createArch.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreQueryArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreCommandArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * review correction pt.1 * phpdoc + presenterInterface generated method * review fixes, pt. 2 * Update src/Command/createArch.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * review fixes pt. 3 * NewModel creation on Create command * refacto composition vs inheritance * coding style * fix bug ReadRepository * phpstan && cs fixer * implemented Model vs NewModel functionnality * fixed Create use case message error * Update src/Command/CreateCoreArchCommand.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * phpstan fixes * fixed issue * fixed delimiter issue --------- Co-authored-by: jeremyjaouen <jjaouen@centreon.com> Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com>
Please register or sign in to comment