/**
  * {@inheritdoc}
  */
 public function getCategories($parent, $recursionLevel = 0, $sorted = false, $asCollection = false, $toLoad = true)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCategories');
     if (!$pluginInfo) {
         return parent::getCategories($parent, $recursionLevel, $sorted, $asCollection, $toLoad);
     } else {
         return $this->___callPlugins('getCategories', func_get_args(), $pluginInfo);
     }
 }