getName() 공개 메소드

jarves/node => Node.
public getName ( string $objectKey ) : string | null
$objectKey string
리턴 string | null
예제 #1
0
파일: Propel.php 프로젝트: jarves/jarves
 /**
  * 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;
 }