You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you ran composer dump-autoload inside your Laravel project? Sometimes this is necessary to Laravel find the new packages to autoload them.
And about the namespace, the reason I am avoiding it is because this class is aready being used by some people, and I don't want to disrupt something in their projects.
And about the namespace, the reason I am avoiding it is because this class is aready being used by some people, and I don't want to disrupt something in their projects.
@llagerlof You might add a namespace to your class and use class_alias() to keep BC.
example:
// in MoodleRest.phpnamespaceVendorname\Packagename;
class MoodleRest {
//...
}
class_alias('Vendorname\Packagename\MoodleRest', 'MoodleRest');
No description provided.
The text was updated successfully, but these errors were encountered: