__construct() public method

Algolia Search initialization.
public __construct ( string $applicationID, string $apiKey, array | null $hostsArray = null, array $options = [] )
$applicationID string the application ID you have in your admin interface
$apiKey string a valid API key for the service
$hostsArray array | null the list of hosts that you have received for the service
$options array
Example #1
0
 /**
  * @inheritdoc
  */
 public function __construct($applicationID, $apiKey, $hostsArray = null, $options = array())
 {
     parent::__construct($applicationID, $apiKey, $hostsArray, $options);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function __construct($applicationID, $apiKey, $hostsArray = null, $options = array())
 {
     Version::$custom_value = ' Nette 1.0.1';
     parent::__construct($applicationID, $apiKey, $hostsArray, $options);
 }