public function __construct($object, $adjacentNodesCallback, $realCostCallback, $estimatedCostCallback) { parent::__construct(); $this->object = $object; $this->adjacentNodesCallback = $adjacentNodesCallback; $this->realCostCallback = $realCostCallback; $this->estimatedCostCallback = $estimatedCostCallback; }
public function __construct($alg) { parent::__construct($alg); }
public function __construct($objStateGenerator) { parent::__construct($objStateGenerator); }
/** * Creates a new time-based one-time-password instance * * @param com.google.authenticator.Secret $secret * @param int $interval If omitted, uses 30 seconds * @param int $digits If omitted, defaults to 6 * @param string $crypto If omitted, defaults to "sha1" */ public function __construct(Secret $secret, $interval = 30, $digits = 6, $crypto = 'sha1') { parent::__construct($secret, $digits, $crypto); $this->interval = $interval; }