Merge branch 'master' of https://github.com/thelia/thelia
This commit is contained in:
@@ -29,6 +29,12 @@ use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\HttpKernel\KernelInterface;
|
||||
|
||||
/**
|
||||
* cli application for Thelia
|
||||
* Class Application
|
||||
* @package Thelia\Core
|
||||
* mfony\Component\HttpFoundation\Session\Session
|
||||
*/
|
||||
class Application extends BaseApplication
|
||||
{
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
* @package Thelia\Core\DependencyInjection\Compiler
|
||||
*
|
||||
* Source code come from Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RegisterKernelListenersPass class
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class RegisterListenersPass implements CompilerPassInterface
|
||||
{
|
||||
|
||||
@@ -31,7 +31,7 @@ use Symfony\Component\DependencyInjection\Reference;
|
||||
* Register parser plugins. These plugins shouild be tagged thelia.parser.register_plugin
|
||||
* in the configuration.
|
||||
*
|
||||
*
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class RegisterParserPluginPass implements CompilerPassInterface
|
||||
{
|
||||
|
||||
@@ -28,6 +28,14 @@ use Symfony\Component\DependencyInjection\Definition;
|
||||
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||
use Symfony\Component\DependencyInjection\Reference;
|
||||
|
||||
/**
|
||||
*
|
||||
* this compiler can add many router to symfony-cms routing
|
||||
*
|
||||
* Class RegisterRouterPass
|
||||
* @package Thelia\Core\DependencyInjection\Compiler
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class RegisterRouterPass implements CompilerPassInterface
|
||||
{
|
||||
|
||||
|
||||
@@ -36,6 +36,14 @@ use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
||||
use Symfony\Component\DependencyInjection\Loader\FileLoader;
|
||||
|
||||
/**
|
||||
*
|
||||
* Load, read and validate config xml files
|
||||
*
|
||||
* Class XmlFileLoader
|
||||
* @package Thelia\Core\DependencyInjection\Loader
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class XmlFileLoader extends FileLoader
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -36,6 +36,7 @@ use Thelia\Core\Template\ParserContext;
|
||||
*
|
||||
* Class ControllerListener
|
||||
* @package Thelia\Core\EventListener
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class ControllerListener implements EventSubscriberInterface
|
||||
{
|
||||
|
||||
@@ -25,6 +25,14 @@ namespace Thelia\Core\Factory;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
* *
|
||||
* try to instanciate the good action class
|
||||
*
|
||||
* Class ActionEventFactory
|
||||
* @package Thelia\Core\Factory
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class ActionEventFactory
|
||||
{
|
||||
|
||||
|
||||
@@ -24,6 +24,13 @@ namespace Thelia\Core\HttpFoundation;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request as BaseRequest;
|
||||
|
||||
/**
|
||||
* extends Symfony\Component\HttpFoundation\Request for adding some helpers
|
||||
*
|
||||
* Class Request
|
||||
* @package Thelia\Core\HttpFoundation
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class Request extends BaseRequest
|
||||
{
|
||||
|
||||
|
||||
@@ -31,6 +31,14 @@ use Thelia\Model\Cart;
|
||||
use Thelia\Tools\URL;
|
||||
use Thelia\Model\Lang;
|
||||
|
||||
/**
|
||||
*
|
||||
* extends mfony\Component\HttpFoundation\Session\Session for adding some helpers
|
||||
*
|
||||
* Class Session
|
||||
* @package Thelia\Core\HttpFoundation\Session
|
||||
* Symfony\Component\HttpFoundation\Request
|
||||
*/
|
||||
class Session extends BaseSession
|
||||
{
|
||||
// -- Language ------------------------------------------------------------
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace Thelia\Core;
|
||||
/**
|
||||
* Root class of Thelia
|
||||
*
|
||||
* It extends Symfony\Component\HttpKernel\Kernel for changing some fonctionnality
|
||||
* It extends Symfony\Component\HttpKernel\Kernel for changing some features
|
||||
*
|
||||
*
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
|
||||
@@ -25,6 +25,13 @@ namespace Thelia\Core;
|
||||
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
|
||||
/**
|
||||
* extends Symfony\Component\DependencyInjection\ContainerBuilder for changing some behavior
|
||||
*
|
||||
* Class TheliaContainerBuilder
|
||||
* @package Thelia\Core
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class TheliaContainerBuilder extends ContainerBuilder
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user