| 1 | <?php |
||
| 8 | class Legislature |
||
| 9 | { |
||
| 10 | public $name; |
||
| 11 | public $slug; |
||
| 12 | public $personCount; |
||
| 13 | public $sha; |
||
| 14 | public $statementCount; |
||
| 15 | public $popoloUrl; |
||
| 16 | public $lastmod; |
||
| 17 | protected $legislatureData; |
||
| 18 | protected $country; |
||
| 19 | |||
| 20 | 21 | public function __construct($legislatureData, $country) |
|
| 38 | |||
| 39 | 3 | public function __toString() |
|
| 43 | |||
| 44 | /** |
||
| 45 | * Return the directory path in the everypolitician-data repository |
||
| 46 | */ |
||
| 47 | 3 | public function directory() |
|
| 53 | |||
| 54 | 3 | public function popolo() |
|
| 58 | } |
||
| 59 |