public function get(string $id): ?\BearFramework\App\Addon
    {
        if (isset($this->data[$id])) {
            return clone($this->data[$id]);
        }
        return null;
    }
public function get(string $id): ?\BearFramework\App\Addon
    {
        if (isset($this->data[$id])) {
            return clone($this->data[$id]);
        }
        return null;
    }
public function get ( string $ id ) : ? \ BearFramework \ App \ Addon { if ( isset ( $ this -> data [ $ id ] ) ) { return clone ( $ this -> data [ $ id ] ) ; } return null ; }
Returns the enabled addon or null if not found.

@param string $id The id of the addon.
@return BearFramework\App\Addon|null The enabled addon or null if not found.
Returns the enabled addon or null if not found .