protected function getAliasesByExtendsNamespace()
    {
        $aliases = $this->getValidAliases();

        $aliases = $aliases->filter(function (Alias $item) {
            return ! collect([
                'MessageStack',
                'AdminSection',
                'AdminTemplate',
                'AdminNavigation',
                'AdminColumn',
                'AdminColumnEditable',
                'AdminColumnFilter',
                'AdminDisplayFilter',
                'AdminForm',
                'AdminFormElement',
                'AdminDisplay',
            ])->search($item->getAlias());
        });

        return $aliases->groupBy(function (Alias $alias) {
            return $alias->getExtendsNamespace();
        });
    }
protected function getAliasesByExtendsNamespace()
    {
        $aliases = $this->getValidAliases();

        $aliases = $aliases->filter(function (Alias $item) {
            return ! collect([
                'MessageStack',
                'AdminSection',
                'AdminTemplate',
                'AdminNavigation',
                'AdminColumn',
                'AdminColumnEditable',
                'AdminColumnFilter',
                'AdminDisplayFilter',
                'AdminForm',
                'AdminFormElement',
                'AdminDisplay',
            ])->search($item->getAlias());
        });

        return $aliases->groupBy(function (Alias $alias) {
            return $alias->getExtendsNamespace();
        });
    }
protected function getAliasesByExtendsNamespace ( ) { $ aliases = $ this -> getValidAliases ( ) ; $ aliases = $ aliases -> filter ( function ( Alias $ item ) { return ! collect ( [ 'MessageStack' , 'AdminSection' , 'AdminTemplate' , 'AdminNavigation' , 'AdminColumn' , 'AdminColumnEditable' , 'AdminColumnFilter' , 'AdminDisplayFilter' , 'AdminForm' , 'AdminFormElement' , 'AdminDisplay' , ] ) -> search ( $ item -> getAlias ( ) ) ; } ) ; return $ aliases -> groupBy ( function ( Alias $ alias ) { return $ alias -> getExtendsNamespace ( ) ; } ) ; }
Regroup aliases by namespace of extended classes.

@return Collection
Regroup aliases by namespace of extended classes .