public function getMetadata($objectClass)
    {
        if (! $objectClass instanceof ObjectKey) {
            $objectClass = new ObjectKey($objectClass);
        }

        $key = $objectClass->getKey();

        return $this->classMetadataFactory->loadMetadata(
            $objectClass,
            LoadingCriteria::createFromConfiguration($this->configuration, $objectClass),
            $this->configuration
        );
    }
public function getMetadata($objectClass)
    {
        if (! $objectClass instanceof ObjectKey) {
            $objectClass = new ObjectKey($objectClass);
        }

        $key = $objectClass->getKey();

        return $this->classMetadataFactory->loadMetadata(
            $objectClass,
            LoadingCriteria::createFromConfiguration($this->configuration, $objectClass),
            $this->configuration
        );
    }
public function getMetadata ( $ objectClass ) { if ( ! $ objectClass instanceof ObjectKey ) { $ objectClass = new ObjectKey ( $ objectClass ) ; } $ key = $ objectClass -> getKey ( ) ; return $ this -> classMetadataFactory -> loadMetadata ( $ objectClass , LoadingCriteria :: createFromConfiguration ( $ this -> configuration , $ objectClass ) , $ this -> configuration ) ; }
Return the class metadata.

@param string $className FQCN without a leading back slash as does get_class()

@return \Kassko\DataMapper\ClassMetadata\ClassMetadata
Return the class metadata .