Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 58ee5bdaed41f40a158fa983502934f38830528d @iampersistent committed Mar 7, 2012
Showing with 92 additions and 0 deletions.
  1. +16 −0 Document/Subscription.php
  2. +12 −0 Model/PlanGroup.php
  3. +19 −0 Resources/config/subscription.xml
  4. +16 −0 VespolinaProductSubscriptionBundle.php
  5. +29 −0 composer.json
@@ -0,0 +1,16 @@
+<?php
+/**
+ * (c) 2012 Vespolina Project http://www.vespolina-project.org
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this source code in the file LICENSE.
+ */
+
+namespace Vespolina\ProductSubscriptionBundle\Document;
+
+use Vespolina\ProductBundle\Document\BaseProduct;
+
+class Subscription extends BaseProduct
+{
+
+}
@@ -0,0 +1,12 @@
+<?php
+/**
+ * Created by JetBrains PhpStorm.
+ * User: iampersistent
+ * Date: 3/7/12
+ * Time: 2:51 AM
+ * To change this template use File | Settings | File Templates.
+ */
+class PlanGroup
+{
+
+}
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<container xmlns="http://symfony.com/schema/dic/services"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
+
+ <parameters>
+ <parameter key="vespolina.product_handler.subscription.class">Vespolina\ProductSubscriptionBundle\Handler\SubscriptionHandler</parameter>
+ <parameter key="vespolina.product.subscription.class">Application\Vespolina\ProductSubscriptionBundle\Document\Subscription</parameter>
+ </parameters>
+
+ <services>
+ <service id="vespolina.product_handler.subscription" class="%vespolina.product_handler.subscription.class%">
+ <argument>%vespolina.product.subscription.class%</argument>
+ <tag name="vespolina.product_handler" />
+ </service>
+ </services>
+
+</container>
@@ -0,0 +1,16 @@
+<?php
+/**
+ * (c) 2012 Vespolina Project http://www.vespolina-project.org
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this source code in the file LICENSE.
+ */
+
+namespace Vespolina\ProductSubscriptionBundle;
+
+use Symfony\Component\HttpKernel\Bundle\Bundle;
+
+class VespolinaProductSubscriptionBundle extends Bundle
+{
+
+}
@@ -0,0 +1,29 @@
+{
+ "name": "vespolina/product-subscription-bundle",
+ "type": "symfony-bundle",
+ "description": "Vespolina product bundle for subscription products.",
+ "keywords": ["shop", "ecommerce", "product", "subscription"],
+ "homepage": "http://vespolina-project.org",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Vespolina Community",
+ "homepage": "https://github.com/vespolina/VespolinaProductSubscriptionBundle/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.2",
+ "symfony/framework-bundle": "2.*",
+ "symfony/security-bundle": "2.*"
+ "vespolina/product-bundle": "*"
+ },
+ "suggest": {
+ "symfony/doctrine-bundle": "*",
+ "symfony/mongodb-odm-bundle": "*",
+ "doctrine/couchdb-odm-bundle": "*"
+ },
+ "autoload": {
+ "psr-0": { "Vespolina\\ProductSubscriptionBundle": "" }
+ },
+ "target-dir": "Vespolina/ProductSubscriptionBundle"
+}

0 comments on commit 58ee5bd

Please sign in to comment.