source/Core/Module/ModuleChainsGenerator.php
public function getActiveChain($className, $classAlias = null)
    {
        if (!$classAlias) {
            $classAlias = $className;
        }
        $fullChain = $this->getFullChain($className, $classAlias);
        $activeChain = [];
        if (!empty($fullChain)) {
            $activeChain = $this->filterInactiveExtensions($fullChain);
        }

        return $activeChain;
    }
public function getActiveChain($className, $classAlias = null)
    {
        if (!$classAlias) {
            $classAlias = $className;
        }
        $fullChain = $this->getFullChain($className, $classAlias);
        $activeChain = [];
        if (!empty($fullChain)) {
            $activeChain = $this->filterInactiveExtensions($fullChain);
        }

        return $activeChain;
    }
public function getActiveChain ( $ className , $ classAlias = null ) { if ( ! $ classAlias ) { $ classAlias = $ className ; } $ fullChain = $ this -> getFullChain ( $ className , $ classAlias ) ; $ activeChain = [ ] ; if ( ! empty ( $ fullChain ) ) { $ activeChain = $ this -> filterInactiveExtensions ( $ fullChain ) ; } return $ activeChain ; }
Assembles class chains.

@param string $className  Class name.
@param string $classAlias Class alias, used for searching module extensions. Class is used if no alias given.

@return array
Assembles class chains .