![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Module/ |
<?php /** * List of active application modules. * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ declare(strict_types=1); namespace Magento\Framework\Module; /** * Interface \Magento\Framework\Module\ModuleListInterface * * @api */ interface ModuleListInterface { /** * Get list of all modules * * Returns an array where key is module name and value is an array with module meta-information * * @return array */ public function getAll(); /** * Get module declaration data * * Returns an array with meta-information about one module by specified name * * @param string $name * @return array|null */ public function getOne($name); /** * Enumerates the list of names of modules * * @return string[] */ public function getNames(); /** * Checks whether the specified module is present in the list * * @param string $name * @return bool */ public function has($name); }