public function getClass($class)
    {
        $this->checkClass($class);

        if (null === $this->infoClass) {
            $infoClass = get_class($this).'Info';
            $this->infoClass = new $infoClass();
        }

        return $this->infoClass->{'get'.str_replace('\\', '', $class).'Class'}();
    }
public function getClass($class)
    {
        $this->checkClass($class);

        if (null === $this->infoClass) {
            $infoClass = get_class($this).'Info';
            $this->infoClass = new $infoClass();
        }

        return $this->infoClass->{'get'.str_replace('\\', '', $class).'Class'}();
    }
public function getClass ( $ class ) { $ this -> checkClass ( $ class ) ; if ( null === $ this -> infoClass ) { $ infoClass = get_class ( $ this ) . 'Info' ; $ this -> infoClass = new $ infoClass ( ) ; } return $ this -> infoClass -> { 'get' . str_replace ( '\\' , '' , $ class ) . 'Class' } ( ) ; }
Returns the metadata of a class.

@param string $class The class.

@return array The metadata of the class.

@throws \LogicException If the class does not exist in the metadata factory.
Returns the metadata of a class .