Created
September 25, 2011 18:46
-
-
Save pjedrzejewski/1240954 to your computer and use it in GitHub Desktop.
Easy categorizing with Symfony2, gist #2.
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
<?php | |
namespace Application\Bundle\AssortmentBundle\Entity; | |
use Sylius\Bundle\CatalogBundle\Entity\Category as BaseCategory; | |
class Category extends BaseCategory | |
{ | |
protected $products; | |
public function getProducts() | |
{ | |
return $this->products; | |
} | |
public function setProducts($products) | |
{ | |
$this->products = $products; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment