Skip to content

Commit

Permalink
Remove redundant private function.
Browse files Browse the repository at this point in the history
  • Loading branch information
grantpalin committed Sep 30, 2015
1 parent acd0fb6 commit 63e49b6
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/Beanstream/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,6 @@ public function getConfig() {
* @return \Beanstream\Payments this gateway's payment api object
*/
public function payments() {
return $this->getPaymentsApi();
}

/**
* getPaymentsApi() function
*
* Internal function to return/create the payment object
*
* @return \Beanstream\Payments this gateway's payment api object, creates it if it doesn't exist
*/
private function getPaymentsApi() {
//check to see if we already have it created
if (is_null($this->_paymentsAPI)) {
//if we don't, create it
Expand All @@ -105,17 +94,6 @@ private function getPaymentsApi() {
* @return \Beanstream\Profiles this gateway's profiles api object
*/
public function profiles() {
return $this->getProfilesApi();
}

/**
* getProfilesApi() function
*
* Internal function to return/create the profiles object
*
* @return \Beanstream\Profiles this gateway's profiles api object, creates it if it doesn't exist
*/
private function getProfilesApi() {
//check to see if we already have it created
if (is_null($this->_profilesAPI)) {
//if we don't, create it
Expand All @@ -134,17 +112,6 @@ private function getProfilesApi() {
* @return \Beanstream\Reporting this gateway's reporting api object
*/
public function reporting() {
return $this->getReportingApi();
}

/**
* getReportingApi() function
*
* Internal function to return/create the reporting object
*
* @return \Beanstream\Reporting this gateway's reporting api object, creates it if it doesn't exist
*/
private function getReportingApi() {
//check to see if we already have it created
if (is_null($this->_reportingAPI)) {
//if we don't, create it
Expand Down

0 comments on commit 63e49b6

Please sign in to comment.