public function getName() { return $this->name; }
/** * @param TestEntity $entity * @return string */ public function showAction(TestEntity $entity) { return $entity->getName(); }