rfc:namespace-visibility

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:namespace-visibility [2018/07/18 21:38] mdwheelerfc:namespace-visibility [2018/07/18 21:39] mdwheele
Line 165: Line 165:
  
     new \Example\ProtectedClass();            // ILLEGAL     new \Example\ProtectedClass();            // ILLEGAL
-    (new Factory())->make();                  // ILLEGAL+    (new Factory())->make();                 // ILLEGAL
  
     new \Example\PublicClass();               // legal     new \Example\PublicClass();               // legal
rfc/namespace-visibility.txt · Last modified: 2018/07/18 21:42 by mdwheele