public static function get($type, $name)
    {

        return ModuleCompiler::get($type, $name) ?: static::where('type', $type)->where('name', $name)->first();
    }
public static function get($type, $name)
    {

        return ModuleCompiler::get($type, $name) ?: static::where('type', $type)->where('name', $name)->first();
    }
public static function get ( $ type , $ name ) { return ModuleCompiler :: get ( $ type , $ name ) ? : static :: where ( 'type' , $ type ) -> where ( 'name' , $ name ) -> first ( ) ; }
Get a module instance
@param string type
@param string name
@return Module
Get a module instance