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
I'm using PredisServiceProvider with latest version of Silex and Composer.
I got an error while trying to register the service, because in the register method there is a reference to the old Silex autoloader:
if (isset($app["$prefix.class_path"])) {
$app['autoloader']->registerNamespace('Predis', $app["$prefix.class_path"]);
}
I think all the references to the old silex autoloader have to be removed, even in the README in favour of composer instructions.
The text was updated successfully, but these errors were encountered:
Sorry for the uber-late response, I've been hell busy and that's also the reason why I didn't notice this change in Silex so thanks for reporting the issue. I'll fix the documentation after fixing another glaring issue in the configuration of the provider that emerged after the addition of the boot() method in Silex.
@igorw I'm going to remove the class_path option since I have to break compatibility anyway. Some things must be moved inside boot(), the approach after its addition broke the configuration of this provider.
I'm using PredisServiceProvider with latest version of Silex and Composer.
I got an error while trying to register the service, because in the register method there is a reference to the old Silex autoloader:
I think all the references to the old silex autoloader have to be removed, even in the README in favour of composer instructions.
The text was updated successfully, but these errors were encountered: