src/includes/mock-mailer.php
public function get_sent( $index = 0 ) {
		$retval = false;
		if ( isset( $this->mock_sent[ $index ] ) ) {
			$retval = (object) $this->mock_sent[ $index ];
		}
		return $retval;
	}
public function get_sent( $index = 0 ) {
		$retval = false;
		if ( isset( $this->mock_sent[ $index ] ) ) {
			$retval = (object) $this->mock_sent[ $index ];
		}
		return $retval;
	}
public function get_sent ( $ index = 0 ) { $ retval = false ; if ( isset ( $ this -> mock_sent [ $ index ] ) ) { $ retval = ( object ) $ this -> mock_sent [ $ index ] ; } return $ retval ; }
Decorator to return the information for a sent mock.

@since 4.5.0

@param int $index Optional. Array index of mock_sent value.
@return object
Decorator to return the information for a sent mock .