rfc:structured_object_notation

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:structured_object_notation [2016/07/31 08:52] midorikocakrfc:structured_object_notation [2016/07/31 08:53] midorikocak
Line 86: Line 86:
 Let's have one class called B, similar to above example. Let's have one class called B, similar to above example.
  
-<code> +<code php
-Class B{+class B{
  
     // No way to define order of methods     // No way to define order of methods
Line 118: Line 118:
  
 Instead of instantiating objects on the fly, here I propose a structured definition of an object using this syntax: Instead of instantiating objects on the fly, here I propose a structured definition of an object using this syntax:
-<code php>+<code>
  
 Object $app instanceof B{ Object $app instanceof B{
rfc/structured_object_notation.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1