Skip to content

Commit

Permalink
Adds PHP.net CfP-Parser
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Mar 30, 2016
1 parent cf8f380 commit 68518bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Command/ParseEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
namespace Callingallpapers\Command;

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

$parser = new PhpNetCfpParser();
$parser->parse($writer);
$parser = new JoindinCfpParser();
$parser->parse($writer);
}
Expand Down

0 comments on commit 68518bb

Please sign in to comment.