| 1 | <?php |
||
| 11 | class Crawling extends Model |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string $state |
||
| 15 | */ |
||
| 16 | protected $state = null; |
||
| 17 | /** |
||
| 18 | * @var string $details |
||
| 19 | */ |
||
| 20 | protected $details = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | protected $mappingClasses = []; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | protected $propNameMap = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Crawling constructor. |
||
| 34 | * |
||
| 35 | * @param \SimpleXMLIterator $data |
||
| 36 | */ |
||
| 37 | public function __construct(\SimpleXMLIterator $data) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getState() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $state |
||
| 52 | */ |
||
| 53 | public function setState($state) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return string|null |
||
| 60 | */ |
||
| 61 | public function getDetails() |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param string $details |
||
| 68 | */ |
||
| 69 | public function setDetails($details) |
||
| 73 | } |
||
| 74 |