Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move product classes into product folder

  • Loading branch information...
commit ada88d0bea297da9df96dc184726b33cbe73542b 1 parent d14434d
@iampersistent iampersistent authored
View
4 lib/Vespolina/Entity/BaseIdentifier.php → ...ina/Entity/Indentifier/BaseIdentifier.php
@@ -5,10 +5,10 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Identifier;
use Vespolina\Exception\IdentifierCheckDigitException;
-use Vespolina\Entity\IdentifierInterface;
+use Vespolina\Entity\Identifier\IdentifierInterface;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/Indentifier/GS1Identifier.php
@@ -7,7 +7,7 @@
*/
namespace Vespolina\Entity\Identifier;
-use Vespolina\Entity\BaseIdentifier;
+use Vespolina\Entity\Identifier\BaseIdentifier;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/Indentifier/IdIdentifier.php
@@ -7,7 +7,7 @@
*/
namespace Vespolina\Entity\Identifier;
-use Vespolina\Entity\BaseIdentifier;
+use Vespolina\Entity\Identifier\BaseIdentifier;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/IdentifierInterface.php → ...ntity/Indentifier/IdentifierInterface.php
@@ -5,7 +5,7 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Identifier;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/Indentifier/SKUIdentifier.php
@@ -7,7 +7,7 @@
*/
namespace Vespolina\Entity\Identifier;
-use Vespolina\Entity\BaseIdentifier;
+use Vespolina\Entity\Identifier\BaseIdentifier;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/Indentifier/UPCIdentifier.php
@@ -7,7 +7,7 @@
*/
namespace Vespolina\Entity\Identifier;
-use Vespolina\Entity\GS1Identifier;
+use Vespolina\Entity\Identifier\GS1Identifier;
/**
* @author Richard D Shank <develop@zestic.com>
View
4 lib/Vespolina/Entity/Feature.php → lib/Vespolina/Entity/Product/Feature.php
@@ -6,9 +6,9 @@
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
-use Vespolina\Entity\FeatureInterface;
+use Vespolina\Entity\Product\FeatureInterface;
/**
* @author Richard D Shank <develop@zestic.com>
View
2  lib/Vespolina/Entity/FeatureInterface.php → ...olina/Entity/Product/FeatureInterface.php
@@ -5,7 +5,7 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
/**
* @author Richard D Shank <develop@zestic.com>
View
4 lib/Vespolina/Entity/Option.php → lib/Vespolina/Entity/Product/Option.php
@@ -5,9 +5,9 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
-use Vespolina\Entity\OptionInterface;
+use Vespolina\Entity\Product\OptionInterface;
/**
* @author Richard D Shank <develop@zestic.com>
View
4 lib/Vespolina/Entity/OptionGroup.php → lib/Vespolina/Entity/Product/OptionGroup.php
@@ -5,9 +5,9 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
-use Vespolina\Entity\OptionGroupInterface;
+use Vespolina\Entity\Product\OptionGroupInterface;
/**
* @author Richard D Shank <develop@zestic.com>
View
12 ...Vespolina/Entity/OptionGroupInterface.php → ...a/Entity/Product/OptionGroupInterface.php
@@ -5,7 +5,7 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
/**
* @author Richard D Shank <develop@zestic.com>
@@ -15,7 +15,7 @@
/**
* Add a option to this product options node.
*
- * @param Vespolina\Entity\OptionInterface $option
+ * @param Vespolina\Entity\Product\OptionInterface $option
*/
function addOption(OptionInterface $option);
@@ -36,7 +36,7 @@ function clearOptions();
*
* @param string $value
*
- * @return Vespolina\Entity\OptionInterface
+ * @return Vespolina\Entity\Product\OptionInterface
*/
function getOption($value);
@@ -45,14 +45,14 @@ function getOption($value);
*
* @param string $display
*
- * @return Vespolina\Entity\OptionInterface or null
+ * @return Vespolina\Entity\Product\OptionInterface or null
*/
function getOptionByDisplay($display);
/**
* Return all the options for this type
*
- * @return array of Vespolina\Entity\OptionInterface
+ * @return array of Vespolina\Entity\Product\OptionInterface
*/
function getOptions();
@@ -66,7 +66,7 @@ function setOptions($options);
/**
* Remove a option from this product options set
*
- * @param Vespolina\Entity\OptionInterface $option
+ * @param Vespolina\Entity\Product\OptionInterface $option
*/
function removeOption(OptionInterface $option);
View
2  lib/Vespolina/Entity/OptionInterface.php → ...polina/Entity/Product/OptionInterface.php
@@ -5,7 +5,7 @@
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
/**
* @author Richard D Shank <develop@zestic.com>
View
10 lib/Vespolina/Entity/Product.php → lib/Vespolina/Entity/Product/Product.php
@@ -6,13 +6,13 @@
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
-use Vespolina\Entity\IdentifierInterface;
-use Vespolina\Entity\FeatureInterface;
+use Vespolina\Entity\Identifier\IdentifierInterface;
+use Vespolina\Entity\Product\FeatureInterface;
use Vespolina\ProductBundle\Model\Identifier\ProductIdentifierSetInterface;
-use Vespolina\Entity\OptionInterface;
-use Vespolina\Entity\OptionGroupInterface;
+use Vespolina\Entity\Product\OptionInterface;
+use Vespolina\Entity\Product\OptionGroupInterface;
/**
* @author Richard D Shank <develop@zestic.com>
View
18 lib/Vespolina/Entity/ProductInterface.php → ...olina/Entity/Product/ProductInterface.php
@@ -6,12 +6,12 @@
* with this source code in the file LICENSE.
*/
-namespace Vespolina\Entity;
+namespace Vespolina\Entity\Product;
-use Vespolina\Entity\FeatureInterface;
-use Vespolina\Entity\IdentifierInterface;
-use Vespolina\Entity\OptionInterface;
-use Vespolina\Entity\OptionGroupInterface;
+use Vespolina\Entity\Product\FeatureInterface;
+use Vespolina\Entity\Identifier\IdentifierInterface;
+use Vespolina\Entity\Product\OptionInterface;
+use Vespolina\Entity\Product\OptionGroupInterface;
/**
* @author Richard D Shank <develop@zestic.com>
@@ -43,7 +43,7 @@ function addFeature(FeatureInterface $feature);
/**
* Add an array of feature to the product
*
- * @param array of Vespolina\Entity\FeatureInterface $features
+ * @param array of Vespolina\Entity\Product\FeatureInterface $features
*/
function addFeatures(array $features);
@@ -55,7 +55,7 @@ function clearFeatures();
/**
* Return the features of the product
*
- * @return Vespolina\Entity\FeatureInterface
+ * @return \Vespolina\Entity\Product\FeatureInterface
*/
function getFeatures();
@@ -64,7 +64,7 @@ function getFeatures();
*
* @param $type
*
- * @return Vespolina\Entity\FeatureInterface
+ * @return \Vespolina\Entity\Product\FeatureInterface
*/
function getFeature($type);
@@ -106,7 +106,7 @@ function getName();
/**
* Add an option set to the product
*
- * @param Vespolina\Entity\OptionGroupInterface $optionGroup
+ * @param \Vespolina\Entity\Product\OptionGroupInterface $optionGroup
*
*/
/** remove for now to get feature tests to pass
Please sign in to comment.
Something went wrong with that request. Please try again.