Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ModuleListInterface Interface Reference
Inheritance diagram for ModuleListInterface:
FullModuleList ModuleList

Public Member Functions

 getAll ()
 
 getOne ($name)
 
 getNames ()
 
 has ($name)
 

Detailed Description

Interface \Magento\Framework\Module\ModuleListInterface

Definition at line 14 of file ModuleListInterface.php.

Member Function Documentation

◆ getAll()

getAll ( )

Get list of all modules

Returns an array where key is module name and value is an array with module meta-information

Returns
array

Implemented in ModuleList, and FullModuleList.

◆ getNames()

getNames ( )

Enumerates the list of names of modules

Returns
string[]

Implemented in ModuleList, and FullModuleList.

◆ getOne()

getOne (   $name)

Get module declaration data

Returns an array with meta-information about one module by specified name

Parameters
string$name
Returns
array|null

Implemented in ModuleList, and FullModuleList.

◆ has()

has (   $name)

Checks whether the specified module is present in the list

Parameters
string$name
Returns
bool

Implemented in ModuleList, and FullModuleList.


The documentation for this interface was generated from the following file: