public function getSubComponents() {
    $base_path = $this->getBaseComponentPath();

    $filter = function (Extension $module) use ($base_path) {
      return strlen(dirname($module->getPath())) > strlen($base_path);
    };

    return array_filter($this->getAll(), $filter);
  }
public function getSubComponents() {
    $base_path = $this->getBaseComponentPath();

    $filter = function (Extension $module) use ($base_path) {
      return strlen(dirname($module->getPath())) > strlen($base_path);
    };

    return array_filter($this->getAll(), $filter);
  }
public function getSubComponents ( ) { $ base_path = $ this -> getBaseComponentPath ( ) ; $ filter = function ( Extension $ module ) use ( $ base_path ) { return strlen ( dirname ( $ module -> getPath ( ) ) ) > strlen ( $ base_path ) ; } ; return array_filter ( $ this -> getAll ( ) , $ filter ) ; }
Returns extension object for all WxT sub-components.

@return Extension[]
Array of extension objects for WxT sub-components.
Returns extension object for all WxT sub - components .