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

Commit

Permalink
Namespace change
Browse files Browse the repository at this point in the history
  • Loading branch information
sankarsuda committed May 7, 2018
1 parent 876cc9b commit 3bd7f45
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Mobtexting Http Client
# MOBtexting Http Client

## Installation

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"autoload": {
"psr-4": {
"Mobtexting\\": "src/"
"Mobtexting\\Http\\": "src/"
}
},
"autoload-dev": {
Expand Down
7 changes: 6 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Mobtexting;
namespace Mobtexting\Http;

/**
*
Expand Down Expand Up @@ -82,6 +82,11 @@ public function request($url, $headers, $curlOptions = null)
return new self($url, $headers, $curlOptions);
}

public static function instance($url, $headers, $curlOptions = null)
{
return new self($url, $headers, $curlOptions);
}

/**
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Mobtexting;
namespace Mobtexting\Http;

/**
* Holds the response from an API call.
Expand Down

0 comments on commit 3bd7f45

Please sign in to comment.