You are here

public function AcquiaDAM_Search::__construct in Media: Acquia DAM 7

AcquiaDAM_Search constructor.

Parameters

array $depends: An array of class dependencies.

File

src/AcquiaDAM/AcquiaDAM_Search.inc, line 23

Class

AcquiaDAM_Search
Acquia DAM Search requests.

Code

public function __construct(array $depends = []) {
  $this->depends = $depends;
  if (empty($this->depends['client'])) {
    $this->depends['client'] = AcquiaDAM_API::getClient();
  }
}