models/Context.php
public function getType($type)
    {
        $type = ltrim($type, '\\');
        if (isset($this->classes[$type])) {
            return $this->classes[$type];
        } elseif (isset($this->interfaces[$type])) {
            return $this->interfaces[$type];
        } elseif (isset($this->traits[$type])) {
            return $this->traits[$type];
        }

        return null;
    }
public function getType($type)
    {
        $type = ltrim($type, '\\');
        if (isset($this->classes[$type])) {
            return $this->classes[$type];
        } elseif (isset($this->interfaces[$type])) {
            return $this->interfaces[$type];
        } elseif (isset($this->traits[$type])) {
            return $this->traits[$type];
        }

        return null;
    }
public function getType ( $ type ) { $ type = ltrim ( $ type , '\\' ) ; if ( isset ( $ this -> classes [ $ type ] ) ) { return $ this -> classes [ $ type ] ; } elseif ( isset ( $ this -> interfaces [ $ type ] ) ) { return $ this -> interfaces [ $ type ] ; } elseif ( isset ( $ this -> traits [ $ type ] ) ) { return $ this -> traits [ $ type ] ; } return null ; }
Returning TypeDoc for a type given
@param string $type
@return null|ClassDoc|InterfaceDoc|TraitDoc
Returning TypeDoc for a type given