/** * @param string $className * @param string $suffix * @return string */ protected function idColumnFromClass($className, $suffix = 'Id') { return $this->objectMapper->getInflector()->idColumnFromClass($className, $suffix); }
public function __construct(ObjectMapper $objectMapper) { $this->objectMapper = $objectMapper; $this->inflector = $objectMapper->getInflector(); }