note 102604 added to language.namespaces.faq

[email protected] Thu, 24 Feb 2011 01:39:06 -0800
Newsgroups php.notes
Message-ID <[email protected]>
Is it possible to import all the classes from a given namespace at a single use statement, like:

use MyNamespace\*;

?

If not - is it planned to add such feature in future? Because sometimes it's really bothering to write:

use MyNamespace\Class1;
use MyNamespace\Class2;
...
use MyNamespace\Class234;
----
Server IP: 69.147.83.197
Probable Submitter: 195.238.92.163
----
Manual Page -- http://www.php.net/manual/en/language.namespaces.faq.php
Edit        -- https://master.php.net/note/edit/102604
Del: integrated  -- https://master.php.net/note/delete/102604/integrated
Del: useless     -- https://master.php.net/note/delete/102604/useless
Del: bad code    -- https://master.php.net/note/delete/102604/bad+code
Del: spam        -- https://master.php.net/note/delete/102604/spam
Del: non-english -- https://master.php.net/note/delete/102604/non-english
Del: in docs     -- https://master.php.net/note/delete/102604/in+docs
Del: other reasons-- https://master.php.net/note/delete/102604
Reject      -- https://master.php.net/note/reject/102604
Search      -- https://master.php.net/manage/user-notes.php