public function ViewPaymentsByOwner::__construct in Payment 8.2
Creates a new instance.
Parameters
\Drupal\Core\Session\AccountInterface $current_user:
\Drupal\payment\Entity\Payment\PaymentListBuilderInterface $payment_list_builder:
File
- src/
Controller/ ViewPaymentsByOwner.php, line 37
Class
- ViewPaymentsByOwner
- Handles the "view payments by owner" route.
Namespace
Drupal\payment\ControllerCode
public function __construct(AccountInterface $current_user, PaymentListBuilderInterface $payment_list_builder) {
$this->currentUser = $current_user;
$this->paymentListBuilder = $payment_list_builder;
}