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