Skip to content

Commit 68518bb

Browse files
committed
Adds PHP.net CfP-Parser
1 parent cf8f380 commit 68518bb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Command/ParseEvents.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
namespace Callingallpapers\Command;
3131

3232
use Callingallpapers\Parser\JoindinCfpParser;
33+
use Callingallpapers\Parser\PhpNetCfpParser;
3334
use Callingallpapers\Writer\ApiCfpWriter;
3435
use Symfony\Component\Console\Command\Command;
3536
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
@@ -74,6 +75,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
7475
$writer = new ApiCfpWriter($config['event_api_url'], $config['event_api_token']);
7576
$writer->setOutput($output);
7677

78+
$parser = new PhpNetCfpParser();
79+
$parser->parse($writer);
7780
$parser = new JoindinCfpParser();
7881
$parser->parse($writer);
7982
}

0 commit comments

Comments
 (0)