public get_module ( string $id ) : |
||
$id | string | Module ID. |
return | Module object. |
public function get_module($id)
{
if (!$this->has_module($id)) {
throw InvalidModuleException::for_id($id, 'read');
}
return $this->modules[$id];
}