protected function getElementTypes()
    {
        $classes = ClassInfo::subclassesFor(BaseElement::class);
        $output = [];

        foreach ($classes as $className) {
            if ($className === BaseElement::class) {
                continue;
            }

            $output[] = $className;
        }

        return $output;
    }
protected function getElementTypes()
    {
        $classes = ClassInfo::subclassesFor(BaseElement::class);
        $output = [];

        foreach ($classes as $className) {
            if ($className === BaseElement::class) {
                continue;
            }

            $output[] = $className;
        }

        return $output;
    }
protected function getElementTypes ( ) { $ classes = ClassInfo :: subclassesFor ( BaseElement :: class ) ; $ output = [ ] ; foreach ( $ classes as $ className ) { if ( $ className === BaseElement :: class ) { continue ; } $ output [ ] = $ className ; } return $ output ; }
Return an array of all valid classes that extend BaseElement

@return string[]
Return an array of all valid classes that extend BaseElement