public function getTypeName()
    {
        if (isset($this->resourceType)) {
            return $this->resourceType;
        }
        $classInfo = explode("\\", get_class($this));
        return end($classInfo);
    }
public function getTypeName()
    {
        if (isset($this->resourceType)) {
            return $this->resourceType;
        }
        $classInfo = explode("\\", get_class($this));
        return end($classInfo);
    }
public function getTypeName ( ) { if ( isset ( $ this -> resourceType ) ) { return $ this -> resourceType ; } $ classInfo = explode ( "\\" , get_class ( $ this ) ) ; return end ( $ classInfo ) ; }
Gets entity type name for a resource
@return string
Gets entity type name for a resource