public function getClassname($type)
    {
        $types = $this->types();

        if (isset($types[$type])) {
            return $types[$type];
        }

        return static::DEFAULT_CLASSNAME;
    }
public function getClassname($type)
    {
        $types = $this->types();

        if (isset($types[$type])) {
            return $types[$type];
        }

        return static::DEFAULT_CLASSNAME;
    }
public function getClassname ( $ type ) { $ types = $ this -> types ( ) ; if ( isset ( $ types [ $ type ] ) ) { return $ types [ $ type ] ; } return static :: DEFAULT_CLASSNAME ; }
Get classname by type.

@return string|null
The resolved classname; otherwise the default classname is returned.
Get classname by type .