public function get_results() {

		if ( ( $results = $this->load_from_cache( $this->parent ) ) === null ) {
			$results = $this->fetch_results();

			if ( $this->cache ) {
				$this->cache_results( $results, $this->parent );
				$this->maybe_register_cache_events();
			}
		}

		if ( $this->keep_synced && $results instanceof Collection ) {
			$this->register_events( $results );
		}

		return $results;
	}
public function get_results() {

		if ( ( $results = $this->load_from_cache( $this->parent ) ) === null ) {
			$results = $this->fetch_results();

			if ( $this->cache ) {
				$this->cache_results( $results, $this->parent );
				$this->maybe_register_cache_events();
			}
		}

		if ( $this->keep_synced && $results instanceof Collection ) {
			$this->register_events( $results );
		}

		return $results;
	}
public function get_results ( ) { if ( ( $ results = $ this -> load_from_cache ( $ this -> parent ) ) === null ) { $ results = $ this -> fetch_results ( ) ; if ( $ this -> cache ) { $ this -> cache_results ( $ results , $ this -> parent ) ; $ this -> maybe_register_cache_events ( ) ; } } if ( $ this -> keep_synced && $ results instanceof Collection ) { $ this -> register_events ( $ results ) ; } return $ results ; }
Get the results of the relation.

@since 2.0

@return Collection|Model|mixed
Get the results of the relation .