I'm not exactly sure what you are proposing. However, it's always
worth noting other languages which have something in the feature
space, and Dart has both named constructors and factory constructors.
You should start with researching what they do, and what other
languages may have the same as _language features_, and not as
patterns e.g. Java has a factory pattern, but it's not part of the
language (at least not that I last checked, I don't follow Java).

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to