hasPluginClasses() public method

Returns whether the configuration contains any plugin classes.
public hasPluginClasses ( ) : boolean
return boolean Whether the configuration contains any plugin classes.
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function hasPluginClasses(Expression $expr = null)
 {
     if (!$expr) {
         return $this->rootModuleFile->hasPluginClasses();
     }
     foreach ($this->rootModuleFile->getPluginClasses() as $pluginClass) {
         if ($expr->evaluate($pluginClass)) {
             return true;
         }
     }
     return false;
 }