Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Commit

Permalink
JcidLocoBundle
Browse files Browse the repository at this point in the history
- Fixes ' naar "
- Comments toegevoegd waar mogelijk
  • Loading branch information
cmodijk committed Feb 5, 2014
1 parent ae68ce3 commit 9c68703
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Command/DownloadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

class DownloadCommand extends ContainerAwareCommand
{
/**
*
*/
protected function configure()
{
$this
Expand Down
4 changes: 1 addition & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@
class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
* @return TreeBuilder
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root("jcid_loco");

$treeBuilder->root("jcid_loco")

// Verwerken opgegeven config
Expand Down
8 changes: 7 additions & 1 deletion Loco/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ class Downloader
{
private $config;

public function __construct($config)
/**
* @param array $config
*/
public function __construct(array $config)
{
$this->config = $config;
$this->client = new Client("https://localise.biz/api/");
}

/**
* Downloaden loco files
*/
public function download()
{
// Batch downloader
Expand Down

0 comments on commit 9c68703

Please sign in to comment.