public function getContentType($alias)
    {
        if ($this->legacyStorage !== null) {
            return $this->legacy()->getContentType($alias);
        }

        return $this->mapping->createContentType($alias);
    }
public function getContentType($alias)
    {
        if ($this->legacyStorage !== null) {
            return $this->legacy()->getContentType($alias);
        }

        return $this->mapping->createContentType($alias);
    }
public function getContentType ( $ alias ) { if ( $ this -> legacyStorage !== null ) { return $ this -> legacy ( ) -> getContentType ( $ alias ) ; } return $ this -> mapping -> createContentType ( $ alias ) ; }
Drop in replacement for the legacy storage getContentType method.

@param string $alias

@return Mapping\ContentType|array
Drop in replacement for the legacy storage getContentType method .