public function TweetFeedCommands::__construct in Tweet Feed 8.3
Same name and namespace in other branches
- 4.x 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\CommandsCode
public function __construct() {
$this->db = \Drupal::database();
}