| Total Complexity | 7 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Crawler |
||
| 11 | { |
||
| 12 | public $data=null; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Initial |
||
| 16 | * |
||
| 17 | * @return Response |
||
|
|
|||
| 18 | */ |
||
| 19 | public function __construct($conf, $commandLineObject=null) |
||
| 20 | { |
||
| 21 | $crawler=self::create($conf, $commandLineObject); |
||
| 22 | if (!is_null($crawler) && isset($crawler)) { |
||
| 23 | $crawler->start($conf); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function create($conf, $commandLineObject=null) |
||
| 44 | } |
||
| 45 | } |
||
| 47 |