classes/BearCMS/Internal/Data2/Addons.php
public function get(string $id)
    {
        $app = App::get();
        $data = $app->data->getValue('bearcms/addons/addon/' . md5($id) . '.json');
        if ($data !== null) {
            return $this->makeAddonFromRawData($data);
        }
        return null;
    }
public function get(string $id)
    {
        $app = App::get();
        $data = $app->data->getValue('bearcms/addons/addon/' . md5($id) . '.json');
        if ($data !== null) {
            return $this->makeAddonFromRawData($data);
        }
        return null;
    }
public function get ( string $ id ) { $ app = App :: get ( ) ; $ data = $ app -> data -> getValue ( 'bearcms/addons/addon/' . md5 ( $ id ) . '.json' ) ; if ( $ data !== null ) { return $ this -> makeAddonFromRawData ( $ data ) ; } return null ; }
Retrieves information about the addon specified

@param string $id The addon ID
@return \IvoPetkov\DataObject|null The addon data or null if addon not found
@throws \InvalidArgumentException
Retrieves information about the addon specified