Skip to content

Commit

Permalink
Add toString magic method to Horde_Mime_Id
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 8, 2014
1 parent f0b25fe commit 618afd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions framework/Mime/lib/Horde/Mime/Id.php
Expand Up @@ -46,6 +46,13 @@ public function __construct($id)
$this->id = $id;
}

/**
*/
public function __toString()
{
return $this->id;
}

/**
* Performs MIME ID "arithmetic".
*
Expand Down

0 comments on commit 618afd7

Please sign in to comment.