/** * @param AuthenticationService $authenticationService * @param AuthorizationService $authorizationService * @param CodeValidator $validator */ public function __construct(AuthenticationService $authenticationService, AuthorizationService $authorizationService, CodeValidator $validator) { $this->validator = $validator; $this->authenticationService = $authenticationService; parent::__construct($authorizationService); }
/** * @param InstagramWrapperInterface $instagramWrapper * @param AuthorizationService $authorizationService */ public function __construct(InstagramWrapperInterface $instagramWrapper, AuthorizationService $authorizationService) { $this->instagramWrapper = $instagramWrapper; parent::__construct($authorizationService); }