コード例 #1
0
 public function __construct($object, $adjacentNodesCallback, $realCostCallback, $estimatedCostCallback)
 {
     parent::__construct();
     $this->object = $object;
     $this->adjacentNodesCallback = $adjacentNodesCallback;
     $this->realCostCallback = $realCostCallback;
     $this->estimatedCostCallback = $estimatedCostCallback;
 }
コード例 #2
0
ファイル: None.php プロジェクト: kelvinmo/simplejwt
 public function __construct($alg)
 {
     parent::__construct($alg);
 }
コード例 #3
0
 public function __construct($objStateGenerator)
 {
     parent::__construct($objStateGenerator);
 }
コード例 #4
0
 /**
  * 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;
 }