1 | <?php |
||
5 | trait VerifiesPurchase |
||
6 | { |
||
7 | /** |
||
8 | * Customer Entity. |
||
9 | * |
||
10 | * @var mixed |
||
11 | **/ |
||
12 | protected $customer; |
||
13 | |||
14 | /** |
||
15 | * Verify validity of the purchase key and if valid create customer. |
||
16 | **/ |
||
17 | public function verifyPurchase() |
||
35 | |||
36 | //end verifyPurchase() |
||
37 | |||
38 | /** |
||
39 | * Return invalid key response. |
||
40 | * |
||
41 | * @return Illuminate\Http\Response |
||
42 | **/ |
||
43 | protected function invalidKeyResponse() |
||
47 | |||
48 | //end invalidKeyResponse() |
||
49 | |||
50 | /** |
||
51 | * Set the customer object. |
||
52 | **/ |
||
53 | protected function getCustomer() |
||
57 | |||
58 | //end getCustomer() |
||
59 | |||
60 | /** |
||
61 | * Return a success response if the purchase key is valid. |
||
62 | * |
||
63 | * @return Illuminate\Http\Response json object response |
||
64 | **/ |
||
65 | protected function validKeyResponse() |
||
69 | |||
70 | //end validKeyResponse() |
||
71 | } |
||
72 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.