Esempio n. 1
0
 /**
  * @param mixed $entity
  * @return boolean
  */
 public function isIdentified($entity)
 {
     return $this->storage->hasRecipeWithName($entity->getName());
 }
Esempio n. 2
0
 /**
  * @param Name $name
  * @return boolean
  */
 public function hasRecipeWithName(Name $name)
 {
     return $this->storage->hasRecipeWithName($name);
 }