php - Thujohn\Twitter\Twitter::__construct() must be an instance of Illuminate\Config\Repository, instance of October\Rain\Config\Repository given -


how can pass illuminate\config\repository sentence instead of october\rain\config\repository.

i'm try use thujohn twitter library. thujohn\twitter constructor has reference illuminate\config\repository

in plugin.php, boot() method, have:

app::register(\thujohn\twitter\twitterserviceprovider::class); $alias = aliasloader::getinstance(); $alias->alias('twitter', \thujohn\twitter\facades\twitter::class); 

thanks


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -