address action implementation

This commit is contained in:
Manuel Raynaud
2013-09-03 17:11:11 +02:00
parent 5c3ac1561d
commit deee59244d
4 changed files with 120 additions and 3 deletions

View File

@@ -2,12 +2,21 @@
namespace Thelia\Model;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Thelia\Model\Base\Address as BaseAddress;
class Address extends BaseAddress {
public function createOrUpdate()
{
protected $dispatcher;
public function setDispatcher(EventDispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
public function getDispatcher()
{
return $this->dispatcher;
}
}