From e5afb42018aa0f2dd68584cc88854363f8f6ebe7 Mon Sep 17 00:00:00 2001 From: bgsrb Date: Sat, 6 May 2017 16:30:47 +0430 Subject: [PATCH] Expandability --- src/KavenegarApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KavenegarApi.php b/src/KavenegarApi.php index bd78eb4..b0ea042 100644 --- a/src/KavenegarApi.php +++ b/src/KavenegarApi.php @@ -26,12 +26,12 @@ public function __construct($apiKey) $this->apiKey = $apiKey; } - private function get_path($method, $base = 'sms') + protected function get_path($method, $base = 'sms') { return sprintf(self::APIPATH, $this->apiKey, $base, $method); } - private function execute($url, $data = null) + protected function execute($url, $data = null) { $headers = array( 'Accept: application/json',