コード例 #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());
 }