__construct() public method

public __construct ( $hash )
Example #1
0
 public function __construct(ITraversable $traversable)
 {
     parent::__construct(spl_object_hash($traversable));
     $this->traversable = $traversable;
 }
 public function __construct($tableName, array $primaryKeys = null)
 {
     parent::__construct($tableName);
     $this->name = $tableName;
     $this->primaryKeys = $primaryKeys;
 }