Re: [RFC Discussion] Typed Properties
| From: | Lester Caine | Date: | Sat, 19 Mar 2016 10:54:03 +0000 |
| Subject: | Re: [RFC Discussion] Typed Properties | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91770@lists.php.net to get a copy of this message | ||
On 19/03/16 10:23, Fleshgrinder wrote:
> Properties need the ability to be void even after construction and it is
> up to the object to keep track and ensure state. Nullability is imho not
> necessary at all. So we are all in line here.
If the record I am working with identifies elements are incorrectly
matched, then making a value 'void' is the correct action. We would just
NULL that identifier and fire off a delete to the linked record in the
database. Otherwise we have to create additional logic to handle that.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk