public function WootManager::__construct

master WootManager.php public WootManager::__construct(AccountInterface $current_user)

Constructs the default content manager.

Parameters

\Drupal\Core\Session|AccountInterface $current_user: The current user.

File

tests/resources/modules/d8/woot/src/WootManager.php, line 39
Contains \Drupal\woot\WootManager.

Namespace

Drupal\woot

Class

WootManager
A simulated service for wooting. @todo throw useful exceptions

Code

public function __construct(AccountInterface $current_user) {
  $this->currentUser = $current_user;
}