Exemple #1
0
 public function shortValue()
 {
     return Short::asNative($this->value);
 }
 public function setShort($identifier, $value)
 {
     $this->set($identifier, \blaze\lang\Short::asNative($value), \PDO::PARAM_INT);
     return $this;
 }
 public function getShort($identifier)
 {
     $this->checkClosed();
     $val = $this->get($identifier);
     if ($val == null) {
         return null;
     }
     return Short::asNative($val);
 }
Exemple #4
0
 public function shortValue()
 {
     \blaze\lang\Short::asNative($this->getIntVal());
 }
 public function writeShort(\short $short)
 {
     $short = \blaze\lang\Short::asNative($short);
     return $this->out->write(serialize($short));
 }