You are here

public function TweetFeedCommands::__construct in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 src/Commands/TweetFeedCommands.php \Drupal\tweet_feed\Commands\TweetFeedCommands::__construct()

Load our usable objects into scope.

File

src/Commands/TweetFeedCommands.php, line 27

Class

TweetFeedCommands
A Drush commandfile.

Namespace

Drupal\tweet_feed\Commands

Code

public function __construct() {
  $this->db = \Drupal::database();
}