1 <?php
 2 /**
 3  * @package     Joomla.Platform
 4  * @subpackage  Feed
 5  *
 6  * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 7  * @license     GNU General Public License version 2 or later; see LICENSE
 8  */
 9 
10 defined('JPATH_PLATFORM') or die;
11 
12 /**
13  * Feed Person class.
14  *
15  * @since  12.3
16  */
17 class JFeedPerson
18 {
19     /**
20      * The email address of the person.
21      *
22      * @var    string
23      * @since  12.3
24      */
25     public $email;
26 
27     /**
28      * The full name of the person.
29      *
30      * @var    string
31      * @since  12.3
32      */
33     public $name;
34 
35     /**
36      * The type of person.
37      *
38      * @var    string
39      * @since  12.3
40      */
41     public $type;
42 
43     /**
44      * The URI for the person.
45      *
46      * @var    string
47      * @since  12.3
48      */
49     public $uri;
50 
51     /**
52      * Constructor.
53      *
54      * @param   string  $name   The full name of the person.
55      * @param   string  $email  The email address of the person.
56      * @param   string  $uri    The URI for the person.
57      * @param   string  $type   The type of person.
58      *
59      * @since   12.3
60      */
61     public function __construct($name = null, $email = null, $uri = null, $type = null)
62     {
63         $this->name = $name;
64         $this->email = $email;
65         $this->uri = $uri;
66         $this->type = $type;
67     }
68 }
69