You are here

public function VoteResultManager::__construct in Fivestar 8

Constructs a new VoteResultManager object.

Parameters

\Drupal\votingapi\VoteResultFunctionManager $vote_result_manager: The vote result manager.

File

src/VoteResultManager.php, line 26

Class

VoteResultManager
Contains methods for managing vote results.

Namespace

Drupal\fivestar

Code

public function __construct(VoteResultFunctionManager $vote_result_manager) {
  $this->voteResultManager = $vote_result_manager;
}