Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
#741: Add extension point to set custom parameters to Query Context o…
Browse files Browse the repository at this point in the history
…bject
  • Loading branch information
naydav committed Jun 19, 2019
1 parent 4decb1c commit fec34d8
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,21 @@ class AddUserInfoToContext implements ContextParametersProcessorInterface
*/
private $userContext;

/**
* @var GetCustomer
*/
private $getCustomer;

/**
* @param UserContextInterface $userContext
* @param GetCustomer $getCustomer
*/
public function __construct(
UserContextInterface $userContext
UserContextInterface $userContext,
GetCustomer $getCustomer
) {
$this->userContext = $userContext;
$this->getCustomer = $getCustomer;
}

/**
Expand Down

0 comments on commit fec34d8

Please sign in to comment.