common/models/resources/ModelMeta.php
public static function findByNameType( $parentId, $parentType, $name, $type, $config = [] ) {

		return self::queryByNameType( $parentId, $parentType, $name, $type, $config )->one();
	}
public static function findByNameType( $parentId, $parentType, $name, $type, $config = [] ) {

		return self::queryByNameType( $parentId, $parentType, $name, $type, $config )->one();
	}
public static function findByNameType ( $ parentId , $ parentType , $ name , $ type , $ config = [ ] ) { return self :: queryByNameType ( $ parentId , $ parentType , $ name , $ type , $ config ) -> one ( ) ; }
Find and return the meta associated with parent for given name and type.

@param integer $parentId
@param string $parentType
@param string $name
@param string $type
@param array $config
@return ModelMeta
Find and return the meta associated with parent for given name and type .