Your IP : 216.73.216.43


Current Path : /proc/thread-self/root/home/rtorresani/www/vendor/magento/framework/Component/
Upload File :
Current File : //proc/thread-self/root/home/rtorresani/www/vendor/magento/framework/Component/README.md

# Component

**Component** library provides feature for components (modules/themes/languages/libraries) to load from any
custom directory like vendor.
* Modules should be registered using
```
ComponentRegistrar::register(ComponentRegistrar::MODULE, '<module name>', __DIR__);
```
* Themes should be registered using
```
ComponentRegistrar::register(ComponentRegistrar::THEME, '<theme name>', __DIR__);
```
* Languages should be registered using
```
ComponentRegistrar::register(ComponentRegistrar::LANGUAGE, '<language name>', __DIR__);
```
* Libraries should be registered using
```
ComponentRegistrar::register(ComponentRegistrar::LIBRARY, '<library name>', __DIR__);
```