protected function getAllRepoPulls($state = 'closed', $sha = '', $path = '', $author = '', Date $since = null, Date $until = null)
	{
		$github = $this->getGithub();

		if (!isset($this->allClosedPulls))
		{
			if ($this->getJConfig()->github->changelog_source == "pr")
			{
				$this->allClosedPulls = $github->pulls->getList(
					$this->getJConfig()->github->owner,
					$this->getJConfig()->github->repository,
					$state
				);
			}
			else
			{
				$this->allClosedPulls = $github->repositories->commits->getList(
					$this->getJConfig()->github->owner,
					$this->getJConfig()->github->repository,
					$sha,
					$path,
					$author,
					$since,
					$until
				);
			}
		}

		return $this->allClosedPulls;
	}
protected function getAllRepoPulls($state = 'closed', $sha = '', $path = '', $author = '', Date $since = null, Date $until = null)
	{
		$github = $this->getGithub();

		if (!isset($this->allClosedPulls))
		{
			if ($this->getJConfig()->github->changelog_source == "pr")
			{
				$this->allClosedPulls = $github->pulls->getList(
					$this->getJConfig()->github->owner,
					$this->getJConfig()->github->repository,
					$state
				);
			}
			else
			{
				$this->allClosedPulls = $github->repositories->commits->getList(
					$this->getJConfig()->github->owner,
					$this->getJConfig()->github->repository,
					$sha,
					$path,
					$author,
					$since,
					$until
				);
			}
		}

		return $this->allClosedPulls;
	}
protected function getAllRepoPulls ( $ state = 'closed' , $ sha = '' , $ path = '' , $ author = '' , Date $ since = null , Date $ until = null ) { $ github = $ this -> getGithub ( ) ; if ( ! isset ( $ this -> allClosedPulls ) ) { if ( $ this -> getJConfig ( ) -> github -> changelog_source == "pr" ) { $ this -> allClosedPulls = $ github -> pulls -> getList ( $ this -> getJConfig ( ) -> github -> owner , $ this -> getJConfig ( ) -> github -> repository , $ state ) ; } else { $ this -> allClosedPulls = $ github -> repositories -> commits -> getList ( $ this -> getJConfig ( ) -> github -> owner , $ this -> getJConfig ( ) -> github -> repository , $ sha , $ path , $ author , $ since , $ until ) ; } } return $ this -> allClosedPulls ; }
Get all repository pulls for the changelog

@param   string    $state  - The state of the PR (default closed)
@param   string    $sha    - The sha sum (opt)
@param   string    $path   - The path (opt)
@param   string    $author - The author (opt)
@param   Date|null $since  - Changes since (opt)
@param   Date|null $until  - Changes until (opt)

@return  mixed

@since   1.0
Get all repository pulls for the changelog