WildPHP\Modules\ModulePool::remove PHP Method

remove() public method

public remove ( WildPHP\BaseModuleInterface $module )
$module WildPHP\BaseModuleInterface
    public function remove(BaseModuleInterface $module)
    {
        if (!$this->exists($module)) {
            throw new \RuntimeException($module->getFullyQualifiedName() . ' does not exist in this pool.');
        }
        unset($this->pool[$this->getKey($module)]);
    }