Esempio n. 1
0
 /**
  * Set the Hasher to use for hashing.
  *
  * @return \Illuminate\Contracts\Hashing\Hasher
  */
 public function getHasher()
 {
     return $this->hasher ?: Hash::getFacadeRoot();
 }
Esempio n. 2
0
 /**
  * Get a default hash value, if any is available
  *
  * @return Hasher|null A default hash value or Null if no default value is available
  */
 public function getDefaultHash()
 {
     return Hash::getFacadeRoot();
 }