public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $addon) {
            $list[] = clone($addon);
        }
        return $list;
    }
public function getList()
    {
        $list = new \BearFramework\DataList();
        foreach ($this->data as $addon) {
            $list[] = clone($addon);
        }
        return $list;
    }
public function getList ( ) { $ list = new \ BearFramework \ DataList ( ) ; foreach ( $ this -> data as $ addon ) { $ list [ ] = clone ( $ addon ) ; } return $ list ; }
Returns a list of all enabled addons.

@return \BearFramework\DataList|\BearFramework\App\Addon[] An array containing all enabled addons.
Returns a list of all enabled addons .