public function getTableName() { if (!$this->tableName) { $tableName = str_replace('Mapper', '', $this->getReflection()->getShortName()); $this->tableName = StringHelper::underscore($tableName); } return $this->tableName; }