You are here

public function ApiDocFileLinkConstraintValidator::__construct in Apigee API Catalog 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Validation/Constraint/ApiDocFileLinkConstraintValidator.php \Drupal\apigee_api_catalog\Plugin\Validation\Constraint\ApiDocFileLinkConstraintValidator::__construct()

ApiDocFileLinkConstraintValidator constructor.

Parameters

\GuzzleHttp\ClientInterface $http_client: A Guzzle client object.

File

src/Plugin/Validation/Constraint/ApiDocFileLinkConstraintValidator.php, line 49

Class

ApiDocFileLinkConstraintValidator
Class ApiDocFileLinkConstraintValidator.

Namespace

Drupal\apigee_api_catalog\Plugin\Validation\Constraint

Code

public function __construct(ClientInterface $http_client) {
  $this->httpClient = $http_client;
}