Puli\Manager\Api\Module\ModuleManager::hasModules PHP Метод

hasModules() публичный Метод

You can optionally pass an expression to check whether the manager has modules matching the expression.
public hasModules ( Webmozart\Expression\Expression $expr = null ) : boolean
$expr Webmozart\Expression\Expression The search criteria.
Результат boolean Returns `true` if the manager has modules and `false` otherwise. If an expression was passed, this method only returns `true` if the manager has modules matching the expression.
    public function hasModules(Expression $expr = null);