diff options
author | Camil Staps | 2016-07-28 17:41:53 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-28 17:41:53 +0200 |
commit | b6e22a4d9da5e25165255ee134c15a4a16b79f62 (patch) | |
tree | 16fecd3665275fc6c6fd6d5a5e2203859b7aacd0 /classes/Payment.php | |
parent | Minor fix (diff) |
Fix documentation issues
Diffstat (limited to 'classes/Payment.php')
-rw-r--r-- | classes/Payment.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/Payment.php b/classes/Payment.php index 5bc08dc..4b8c12b 100644 --- a/classes/Payment.php +++ b/classes/Payment.php @@ -25,6 +25,7 @@ * An interface to the payment table in the database */ class Payment extends Model { + /** {@inheritDoc} */ public $table = 'payment', $fillable_columns = ['offerId', 'date', 'braintree_id']; @@ -38,6 +39,11 @@ class Payment extends Model { return new Offer($this->pdo, $this->offerId); } + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function accessor($key, $value) { switch ($key) { case 'date': @@ -48,6 +54,11 @@ class Payment extends Model { } } + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function mutator($key, $value) { switch ($key) { case 'date': |