src/Jira/Api.php
public function getResolutions()
	{
		// Fetch resolutions when the method is called for the first time.
		if ( $this->resolutions === null ) {
			$resolutions = array();
			$result = $this->api(self::REQUEST_GET, '/rest/api/2/resolution', array(), true);

			foreach ( $result as $resolution ) {
				$resolutions[$resolution['id']] = $resolution;
			}

			$this->resolutions = $resolutions;
		}

		return $this->resolutions;
	}
public function getResolutions()
	{
		// Fetch resolutions when the method is called for the first time.
		if ( $this->resolutions === null ) {
			$resolutions = array();
			$result = $this->api(self::REQUEST_GET, '/rest/api/2/resolution', array(), true);

			foreach ( $result as $resolution ) {
				$resolutions[$resolution['id']] = $resolution;
			}

			$this->resolutions = $resolutions;
		}

		return $this->resolutions;
	}
public function getResolutions ( ) { // Fetch resolutions when the method is called for the first time. if ( $ this -> resolutions === null ) { $ resolutions = array ( ) ; $ result = $ this -> api ( self :: REQUEST_GET , '/rest/api/2/resolution' , array ( ) , true ) ; foreach ( $ result as $ resolution ) { $ resolutions [ $ resolution [ 'id' ] ] = $ resolution ; } $ this -> resolutions = $ resolutions ; } return $ this -> resolutions ; }
Returns a list of all resolutions.

@return array
@since  2.0.0
Returns a list of all resolutions .