-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60c1c36
commit 7ae2a35
Showing
68 changed files
with
945 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,25 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
require __DIR__.'/vendor/autoload.php'; | ||
|
||
/** | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
|
||
use Symfony\Component\Console\Application; | ||
use Szczyglis\ChainParser\Command\ParseCommand; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,21 @@ | |
|
||
require __DIR__ . '/vendor/autoload.php'; | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. * | ||
* | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
|
||
use Symfony\Component\HttpFoundation\Request; | ||
use Symfony\Component\HttpFoundation\JsonResponse; | ||
use Szczyglis\ChainParser\ChainParser; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser; | ||
|
||
use Szczyglis\ChainParser\Contract\InputInterface; | ||
|
@@ -16,7 +25,11 @@ | |
|
||
/** | ||
* Class ChainParser | ||
* @package Szczyglis\ChainParser | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
class ChainParser | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Command; | ||
|
||
use Symfony\Component\Console\Command\Command; | ||
|
@@ -15,7 +24,11 @@ | |
|
||
/** | ||
* Class ParseCommand | ||
* @package Szczyglis\ChainParser\Command | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
class ParseCommand extends Command | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Config; | ||
|
||
use Szczyglis\ChainParser\Contract\ConfigInterface; | ||
|
||
/** | ||
* Class ArrayConfig | ||
* @package Szczyglis\ChainParser\Config | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
class ArrayConfig implements ConfigInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Config; | ||
|
||
use Szczyglis\ChainParser\Contract\ConfigInterface; | ||
use Symfony\Component\Yaml\Yaml; | ||
|
||
/** | ||
* Class YamlConfig | ||
* @package Szczyglis\ChainParser\Config | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
class YamlConfig implements ConfigInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
/** | ||
* Interface ConfigInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface ConfigInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
/** | ||
* Interface InputInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface InputInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
use Szczyglis\ChainParser\Contract\LoggerInterface; | ||
|
||
/** | ||
* Interface LoggableInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface LoggableInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
use Szczyglis\ChainParser\Contract\LoggerInterface; | ||
|
||
/** | ||
* Interface LoggableWorkerInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface LoggableWorkerInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
use Szczyglis\ChainParser\Core\DataBag; | ||
|
||
/** | ||
* Interface LoggerInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface LoggerInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
/** | ||
* Interface OptionResolverInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface OptionResolverInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
/** | ||
* Interface OptionsInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface OptionsInterface | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of szczyglis/ultimate-chain-parser. | ||
* | ||
* (c) Marcin Szczyglinski <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Szczyglis\ChainParser\Contract; | ||
|
||
use Szczyglis\ChainParser\Core\DataBag; | ||
use Szczyglis\ChainParser\Contract\WorkerInterface; | ||
|
||
/** | ||
* Interface PluginInterface | ||
* @package Szczyglis\ChainParser\Contract | ||
* @package szczyglis/ultimate-chain-parser | ||
* @author Marcin Szczyglinski <[email protected]> | ||
* @copyright 2022 Marcin Szczyglinski | ||
* @license http://www.opensource.org/licenses/MIT The MIT License | ||
* @link https://github.com/szczyglis-dev/ultimate-chain-parser | ||
*/ | ||
interface PluginInterface | ||
{ | ||
|
Oops, something went wrong.