/**
  * {@inheritdoc}
  */
 protected function hashCoder()
 {
     return $this->hashCoder !== null ? $this->hashCoder : ($this->hashCoder = HashCoder::defaultHashCoder());
 }
示例#2
0
文件: Enum.php 项目: cubiche/cubiche
 /**
  * {@inheritdoc}
  */
 public function hashCode()
 {
     return HashCoder::defaultHashCoder()->hashCode($this->value());
 }