| 1 | <?php |
||
| 5 | class Ref implements Constraint |
||
| 6 | { |
||
| 7 | public $ref; |
||
| 8 | public function __construct($ref, $data = null) |
||
| 13 | |||
| 14 | /** @var mixed */ |
||
| 15 | private $data; |
||
| 16 | |||
| 17 | /** @var mixed */ |
||
| 18 | private $imported; |
||
| 19 | /** @var boolean */ |
||
| 20 | private $isImported = false; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return mixed |
||
| 24 | */ |
||
| 25 | public function getImported() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param mixed $imported |
||
| 32 | */ |
||
| 33 | public function setImported($imported) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return boolean |
||
| 41 | */ |
||
| 42 | public function isImported() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param mixed $data |
||
| 49 | * @return Ref |
||
| 50 | */ |
||
| 51 | public function setData($data) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return mixed |
||
| 59 | * @throws \Exception |
||
| 60 | */ |
||
| 61 | public function getData() |
||
| 65 | } |