Skip to content

Commit

Permalink
Merge pull request #16 from unstoppablecarl/patch-1
Browse files Browse the repository at this point in the history
added getter for properties to Message class
  • Loading branch information
hfig authored Aug 23, 2020
2 parents 8670de0 + 6db6fe4 commit 0d2c767
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/MAPI/Message/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ public function getSendTime(): ?\DateTime
return \DateTime::createFromFormat('U',$sendTime);
}

public function properties(): PropertySet
{
return $this->properties;
}

public function __get($name)
{
if ($name == 'properties') {
Expand All @@ -222,4 +227,4 @@ public function __get($name)



}
}

0 comments on commit 0d2c767

Please sign in to comment.