Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "messagebird/php-rest-api",
"description": "MessageBird REST API client for PHP",
"version": "1.1.8",
"version": "1.1.9",
"type": "library",
"homepage": "https://github.com/messagebird/php-rest-api",
"license": "BSD-2-Clause",
Expand Down
2 changes: 1 addition & 1 deletion src/MessageBird/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Client

const ENDPOINT = 'https://rest.messagebird.com';

const CLIENT_VERSION = '1.1.8';
const CLIENT_VERSION = '1.1.9';

/**
* @var string
Expand Down
20 changes: 20 additions & 0 deletions src/MessageBird/Objects/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,26 @@ public function getId()
return $this->id;
}

/**
* Get the created href
*
* @return string
*/
public function getHref()
{
return $this->href;
}

/**
* Get the $createdDatetime value
*
* @return string
*/
public function getCreatedDatetime()
{
return $this->createdDatetime;
}

/**
* @param $object
*
Expand Down