public function makeRelationship($name)
	{
		// See if the relationship already exists
		if (!$this->getRelationship($name))
		{
			// Get the child rows/row and set them back on the model as a relationship for future use
			$rows = call_user_func_array(array($this, $name), array())->rows();
			$this->addRelationship($name, $rows);
		}

		return $this;
	}
public function makeRelationship($name)
	{
		// See if the relationship already exists
		if (!$this->getRelationship($name))
		{
			// Get the child rows/row and set them back on the model as a relationship for future use
			$rows = call_user_func_array(array($this, $name), array())->rows();
			$this->addRelationship($name, $rows);
		}

		return $this;
	}
public function makeRelationship ( $ name ) { // See if the relationship already exists if ( ! $ this -> getRelationship ( $ name ) ) { // Get the child rows/row and set them back on the model as a relationship for future use $ rows = call_user_func_array ( array ( $ this , $ name ) , array ( ) ) -> rows ( ) ; $ this -> addRelationship ( $ name , $ rows ) ; } return $ this ; }
Establishes a relationship, fetching the rows as needed

@param   string  $name  The name of the relationship
@return  $this
@since   2.0.0
Establishes a relationship fetching the rows as needed