| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | abstract class BaseResource { |
||
| 22 | /** |
||
| 23 | * The resource unique identifier. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $id; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Construct base resource. |
||
| 31 | * |
||
| 32 | * @param string $id Identifier. |
||
| 33 | */ |
||
| 34 | public function __construct( $id ) { |
||
| 35 | $this->id = $id; |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get identifier. |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function get_id() { |
||
| 45 | } |
||
| 46 | } |
||
| 47 |