1: <?php
2: /**
3: * Object representation of an RFC 822 element.
4: *
5: * @since 1.2.0
6: *
7: * Copyright 2012 Horde LLC (http://www.horde.org/)
8: *
9: * See the enclosed file COPYING for license information (BSD). If you
10: * did not receive this file, see http://www.horde.org/licenses/bsd.
11: *
12: * @author Michael Slusarz <slusarz@horde.org>
13: * @category Horde
14: * @license http://www.horde.org/licenses/bsd New BSD License
15: * @package Mail
16: */
17:
18: /**
19: * Object representation of an RFC 822 element.
20: *
21: * @author Michael Slusarz <slusarz@horde.org>
22: * @category Horde
23: * @license http://www.horde.org/licenses/bsd New BSD License
24: * @package Mail
25: */
26: class Horde_Mail_Rfc822_Object
27: {
28: /**
29: * String representation of object.
30: *
31: * @return string Returns the full e-mail address.
32: */
33: public function __toString()
34: {
35: return $this->writeAddress();
36: }
37:
38: }
39: