예제 #1
0
 /**
  * {@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());
 }