src/Model.php
public static function with( $relations ) {

		$query = FluentQuery::from_model( get_called_class() );

		call_user_func_array( array( $query, 'with' ), func_get_args() );

		return $query;
	}
public static function with( $relations ) {

		$query = FluentQuery::from_model( get_called_class() );

		call_user_func_array( array( $query, 'with' ), func_get_args() );

		return $query;
	}
Perform a query with a given set of relations.

@since 2.0

@param $relations,...

@return FluentQuery