getPath(ComponentRegistrar::MODULE, 'Magento_TestModuleSample') === null) { ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Magento_TestModuleSample', __DIR__); }