/** * Returns php class name. * * @param string $objectName * * @return string */ public function getPhpName($objectName = null) { $clazz = Objects::normalizeObjectKey($objectName ?: $this->getObjectKey()); $clazz = $this->objects->getNamespace($clazz) . '\\Model\\' . ucfirst($this->objects->getName($clazz)); return $clazz; }