protected function validateType($embedType)
    {
        $valid = ['one', 'many'];
        if (!in_array($embedType, $valid)) {
            throw MetadataException::invalidRelType($embedType, $valid);
        }
        return true;
    }
protected function validateType($embedType)
    {
        $valid = ['one', 'many'];
        if (!in_array($embedType, $valid)) {
            throw MetadataException::invalidRelType($embedType, $valid);
        }
        return true;
    }
protected function validateType ( $ embedType ) { $ valid = [ 'one' , 'many' ] ; if ( ! in_array ( $ embedType , $ valid ) ) { throw MetadataException :: invalidRelType ( $ embedType , $ valid ) ; } return true ; }
Validates the embed type.

@param   string  $embedType
@return  bool
@throws  MetadataException
Validates the embed type .