__construct() protected method

Constructor for the abstract \Aerospike\LDT class. Inherited by LDT types.
See also: errorno()
See also: error()
protected __construct ( Aerospike $client, array $key, string $bin, integer $type )
$client Aerospike
$key array initialized with Aerospike::initKey()
$bin string name
$type integer of the LDT
示例#1
0
 /**
  * Constructor for the \Aerospike\LDT\LList class.
  *
  * @param Aerospike $db
  * @param array $key initialized with Aerospike::initKey()
  * @param string $bin name
  * @see LDT::__construct()
  */
 public function __construct(Aerospike $db, array $key, $bin)
 {
     parent::__construct($db, $key, $bin, LDT::LLIST);
 }