ZF\Apigility\Admin\Model\InputFilterModel::moduleExists PHP Method

moduleExists() public method

Check if the module exists
public moduleExists ( string $module ) : boolean
$module string
return boolean
    public function moduleExists($module)
    {
        try {
            $this->configFactory->factory($module);
        } catch (InvalidArgumentConfiguration $e) {
            return false;
        }
        return true;
    }