Skip to content

Commit

Permalink
Merge pull request #19 from Telefonica/feat/new-package
Browse files Browse the repository at this point in the history
feat: Change ElevenPaths package to Telefonica
  • Loading branch information
jaesga authored Jul 17, 2023
2 parents eb12445 + d8a7d23 commit eac35f2
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 19 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ElevenPaths/latch-sdk-php",
"name": "Telefonica/latch-sdk-php",
"type": "sdk",
"version": "1.1",
"version": "1.2",
"description": "Latch SDK PHP",
"keywords": [
"api",
Expand All @@ -22,7 +22,7 @@
},
"autoload": {
"psr-4": {
"ElevenPaths\\Latch\\": "src/"
"Telefonica\\Latch\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

class Error {

Expand Down
4 changes: 2 additions & 2 deletions src/Latch.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

use ElevenPaths\Latch\LatchApp as LatchApp;
use Telefonica\Latch\LatchApp as LatchApp;

/**
*
Expand Down
6 changes: 3 additions & 3 deletions src/LatchApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

use ElevenPaths\Latch\LatchAuth as LatchAuth;
use ElevenPaths\Latch\LatchResponse as LatchResponse;
use Telefonica\Latch\LatchAuth as LatchAuth;
use Telefonica\Latch\LatchResponse as LatchResponse;

/**
* This class model the API for Applications. Every action here is related to an Application. This
Expand Down
6 changes: 3 additions & 3 deletions src/LatchAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

use ElevenPaths\Latch\LatchResponse as LatchResponse;
use ElevenPaths\Latch\Error as Error;
use Telefonica\Latch\LatchResponse as LatchResponse;
use Telefonica\Latch\Error as Error;
use DateTime;
use DateTimeZone;

Expand Down
6 changes: 2 additions & 4 deletions src/LatchResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,16 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

use ElevenPaths\Latch\Error as Error;
use Telefonica\Latch\Error as Error;

/**
* This class models a response from any of the endpoints in the Latch API.
* It consists of a "data" and an "error" elements. Although normally only one of them will be
* present, they are not mutually exclusive, since errors can be non fatal, and therefore a response
* could have valid information in the data field and at the same time inform of an error.
*
* @author Jose Palazon <[email protected]>
*
*/
class LatchResponse {

Expand Down
6 changes: 3 additions & 3 deletions src/LatchUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

namespace ElevenPaths\Latch;
namespace Telefonica\Latch;

use ElevenPaths\Latch\LatchAuth as LatchAuth;
use ElevenPaths\Latch\LatchResponse as LatchResponse;
use Telefonica\Latch\LatchAuth as LatchAuth;
use Telefonica\Latch\LatchResponse as LatchResponse;

/**
* This class model the API for a Latch User. Every action here is related to a User. This
Expand Down

0 comments on commit eac35f2

Please sign in to comment.