private function resolve($name)
	{
		if (!class_exists($name))
		{
			// Get the scope of the current class and check there too
			$name = $this->getModelNamespace() . '\\' . $name;

			if (!class_exists($name))
			{
				throw new RuntimeException("Relationship '{$name}' not found");
			}
		}

		return new $name;
	}
private function resolve($name)
	{
		if (!class_exists($name))
		{
			// Get the scope of the current class and check there too
			$name = $this->getModelNamespace() . '\\' . $name;

			if (!class_exists($name))
			{
				throw new RuntimeException("Relationship '{$name}' not found");
			}
		}

		return new $name;
	}
private function resolve ( $ name ) { if ( ! class_exists ( $ name ) ) { // Get the scope of the current class and check there too $ name = $ this -> getModelNamespace ( ) . '\\' . $ name ; if ( ! class_exists ( $ name ) ) { throw new RuntimeException ( "Relationship '{$name}' not found" ) ; } } return new $ name ; }
Finds the named class, checking a handful of scopes

@param   string  $name  The name of the relationship to resolve
@return  object
@since   2.0.0
@throws  \Hubzero\Error\Exception\RuntimeException  If a class of name cannot be found
Finds the named class checking a handful of scopes