Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 3bd7f45

Browse files
committed
Namespace change
1 parent 876cc9b commit 3bd7f45

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mobtexting Http Client
1+
# MOBtexting Http Client
22

33
## Installation
44

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"autoload": {
2727
"psr-4": {
28-
"Mobtexting\\": "src/"
28+
"Mobtexting\\Http\\": "src/"
2929
}
3030
},
3131
"autoload-dev": {

src/Client.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Mobtexting;
3+
namespace Mobtexting\Http;
44

55
/**
66
*
@@ -82,6 +82,11 @@ public function request($url, $headers, $curlOptions = null)
8282
return new self($url, $headers, $curlOptions);
8383
}
8484

85+
public static function instance($url, $headers, $curlOptions = null)
86+
{
87+
return new self($url, $headers, $curlOptions);
88+
}
89+
8590
/**
8691
* @return string
8792
*/

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Mobtexting;
2+
namespace Mobtexting\Http;
33

44
/**
55
* Holds the response from an API call.

0 commit comments

Comments
 (0)