src/Classes/ClassUtil.php
public function getChildClasses(string $qualifiedClassName)
    {
        $arrOptions = [];

        foreach (get_declared_classes() as $strName) {
            if (\in_array($qualifiedClassName, $this->getParentClasses($strName))) {
                $arrOptions[$strName] = $strName;
            }
        }

        asort($arrOptions);

        return $arrOptions;
    }
public function getChildClasses(string $qualifiedClassName)
    {
        $arrOptions = [];

        foreach (get_declared_classes() as $strName) {
            if (\in_array($qualifiedClassName, $this->getParentClasses($strName))) {
                $arrOptions[$strName] = $strName;
            }
        }

        asort($arrOptions);

        return $arrOptions;
    }
public function getChildClasses ( string $ qualifiedClassName ) { $ arrOptions = [ ] ; foreach ( get_declared_classes ( ) as $ strName ) { if ( \ in_array ( $ qualifiedClassName , $ this -> getParentClasses ( $ strName ) ) ) { $ arrOptions [ $ strName ] = $ strName ; } } asort ( $ arrOptions ) ; return $ arrOptions ; }
Returns all children of a given class.

@param string $strNamespace

@return array
Returns all children of a given class .