Dependency
Definition at line 11 of file Dependency.php.
◆ __construct()
__construct |
( |
|
$module, |
|
|
|
$type = self::TYPE_HARD |
|
) |
| |
Dependency construct
- Parameters
-
string | $module | |
string | $type | One of self::TYPE_* constants |
Definition at line 38 of file Dependency.php.
◆ getModule()
◆ getType()
◆ isHard()
Check is hard dependency
- Returns
- bool
Definition at line 70 of file Dependency.php.
72 return self::TYPE_HARD == $this->
getType();
◆ isSoft()
Check is soft dependency
- Returns
- bool
Definition at line 80 of file Dependency.php.
82 return self::TYPE_SOFT == $this->
getType();
◆ $module
◆ $type
◆ TYPE_HARD
◆ TYPE_SOFT
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/setup/src/Magento/Setup/Module/Dependency/Report/Dependency/Data/Dependency.php