for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*************************************************************************************/
/* This file is part of the module TakeCustomerAccount */
/* */
/* Copyright (c) OpenStudio */
/* email : [email protected] */
/* web : http://www.thelia.net */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
namespace TakeCustomerAccount\Event;
use Thelia\Core\Event\ActionEvent;
use Thelia\Model\Customer;
/**
* Class TakeCustomerAccountEvent
* @package TakeCustomerAccount\Event
* @author Gilles Bourgeat <[email protected]>
*/
class TakeCustomerAccountEvent extends ActionEvent
{
/** @var Customer */
protected $customer;
* @param Customer $customer
public function __construct(Customer $customer)
$this->customer = $customer;
}
* @return Customer
public function getCustomer()
return $this->customer;
* @return TakeCustomerAccountEvent
public function setCustomer($customer)
return $this;