| Total Complexity | 9 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Ruling extends AbstractObject |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $oracleId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $source; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $publishedAt; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $comment; |
||
| 28 | |||
| 29 | protected function acceptsObject(): string |
||
| 30 | { |
||
| 31 | return Enums\Objects::RULING; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function getOracleId(): string |
||
| 35 | { |
||
| 36 | return $this->oracleId; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setOracleId(string $oracleId): void |
||
| 40 | { |
||
| 41 | $this->oracleId = $oracleId; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getSource(): string |
||
| 45 | { |
||
| 46 | return $this->source; |
||
| 47 | } |
||
| 48 | |||
| 49 | public function setSource(string $source): void |
||
| 52 | } |
||
| 53 | |||
| 54 | public function getPublishedAt(): string |
||
| 55 | { |
||
| 56 | return $this->publishedAt; |
||
| 57 | } |
||
| 58 | |||
| 59 | public function setPublishedAt(string $publishedAt): void |
||
| 62 | } |
||
| 63 | |||
| 64 | public function getComment(): string |
||
| 65 | { |
||
| 66 | return $this->comment; |
||
| 67 | } |
||
| 68 | |||
| 69 | public function setComment(string $comment): void |
||
| 72 | } |
||
| 73 | } |
||
| 74 |