2
magento 2에서 고객 모듈과 같은 직원 모듈 만들기
직원 모듈을 만들었습니다. 고객 모듈과 동일합니다. 에서 모든 파일을에서 복사 vendor/magento/module-customer했습니다 app/code/Magento/Employee. 고객 을 직원으로 교체했습니다 . 그러나 오류가 표시됩니다. 메시지 'Constant name이 (가)있는'InvalidArgumentException ' 과 [InvalidArgumentException] "setup"네임 스페이스에 정의 된 명령이 없습니다. 내가 module.xml있는 app/Code/Magento/Employee/etc폴더 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Magento_Employee" setup_version="2.0.6"> <sequence> <module name="Magento_Eav"/> <module name="Magento_Directory"/> </sequence> …