| 1 | <?php |
||
| 5 | class ProfileStack |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $client; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var Profile[] |
||
| 14 | */ |
||
| 15 | private $profiles; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $client |
||
| 19 | */ |
||
| 20 | public function __construct($client) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getClient() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param Profile $profile |
||
| 36 | */ |
||
| 37 | public function addProfile(Profile $profile) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return Profile[] |
||
| 44 | */ |
||
| 45 | public function getProfiles() |
||
| 49 | } |
||
| 50 |