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/Offer.php | |
parent | Minor fix (diff) |
Fix documentation issues
Diffstat (limited to 'classes/Offer.php')
-rw-r--r-- | classes/Offer.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/Offer.php b/classes/Offer.php index 8fa9ba7..16e0d20 100644 --- a/classes/Offer.php +++ b/classes/Offer.php @@ -25,10 +25,16 @@ * An interface to the offer table in the database */ class Offer extends Model{ + /** {@inheritDoc} */ public $table = 'offer', $fillable_columns = ['contactId', 'start_date', 'end_date', 'invoice_date', 'accepted', 'invoice_fileId', 'payment_key']; + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function accessor($key, $value) { switch ($key) { case 'start_date': @@ -45,6 +51,11 @@ class Offer extends Model{ } } + /** + * {@inheritDoc} + * @param $key {@inheritDoc} + * @param $value {@inheritDoc} + */ protected function mutator($key, $value) { switch ($key) { case 'start_date': |