From 7d0d1a90a1810c4aeb0010209f764275d0cbac3d Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 2 Sep 2013 15:10:29 +0200 Subject: [PATCH] create action install file --- core/lib/Thelia/Action/Install.php | 61 ++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 core/lib/Thelia/Action/Install.php diff --git a/core/lib/Thelia/Action/Install.php b/core/lib/Thelia/Action/Install.php new file mode 100644 index 000000000..4c5d31df4 --- /dev/null +++ b/core/lib/Thelia/Action/Install.php @@ -0,0 +1,61 @@ +. */ +/* */ +/*************************************************************************************/ + +namespace Thelia\Action; +use Symfony\Component\EventDispatcher\EventSubscriberInterface; + + +/** + * Class Install + * @package Thelia\Action + * @author Manuel Raynaud + */ +class Install extends BaseAction implements EventSubscriberInterface { + + /** + * Returns an array of event names this subscriber wants to listen to. + * + * The array keys are event names and the value can be: + * + * * The method name to call (priority defaults to 0) + * * An array composed of the method name to call and the priority + * * An array of arrays composed of the method names to call and respective + * priorities, or 0 if unset + * + * For instance: + * + * * array('eventName' => 'methodName') + * * array('eventName' => array('methodName', $priority)) + * * array('eventName' => array(array('methodName1', $priority), array('methodName2')) + * + * @return array The event names to listen to + * + * @api + */ + public static function getSubscribedEvents() + { + array( + + ); + } +} \ No newline at end of file