| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SyncDryPagesFromWiki extends Command |
||
| 11 | { |
||
| 12 | protected $signature = 'pages:sync-dry'; |
||
| 13 | |||
| 14 | protected $description = 'Sync the pages from the wiki'; |
||
| 15 | |||
| 16 | private $queryPages = '?action=query&redirects=true&prop=info&format=json&pageids='; |
||
| 17 | public function __construct() |
||
| 18 | { |
||
| 19 | parent::__construct(); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function handle() |
||
| 40 | } |
||
| 41 | }); |
||
| 46 |