/** * Construct Class * * @param array $data An array with the data of a MovieRole */ public function __construct($data, $idPerson) { $this->_data = $data; parent::__construct($data, $idPerson); }
public function __construct() { parent::__construct(); }
public function __construct($roleName, $tenantId = null, $externallyDefined = 'false') { parent::__construct($roleName, $tenantId, $externallyDefined); $this->_attributes = array('xsi:type' => 'roleImpl'); }
/** * @param string $email * @param string $password */ public function __construct($email, $password) { parent::__construct(); $this->setEmail($email)->setPassword($password); }