private function getTypeClassInstance(string $type)
    {
        $classname = isset($this->classesMap[$type]) ? $this->classesMap[$type]['class'] : false;

        return $classname ? new $classname() : false;
    }
private function getTypeClassInstance(string $type)
    {
        $classname = isset($this->classesMap[$type]) ? $this->classesMap[$type]['class'] : false;

        return $classname ? new $classname() : false;
    }
private function getTypeClassInstance ( string $ type ) { $ classname = isset ( $ this -> classesMap [ $ type ] ) ? $ this -> classesMap [ $ type ] [ 'class' ] : false ; return $ classname ? new $ classname ( ) : false ; }
Get the PHP class for a given type.

@param string $type

@return object|false
Get the PHP class for a given type .