From 6aec3211d170d687b2eb078c11d7b91c2d314b39 Mon Sep 17 00:00:00 2001 From: oltho Date: Fri, 20 Sep 2019 16:17:21 +0200 Subject: [PATCH 1/2] Documentation Class Instantiation --- .../Classes/ClassInstantiationStandard.xml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 WordPress/Docs/Classes/ClassInstantiationStandard.xml diff --git a/WordPress/Docs/Classes/ClassInstantiationStandard.xml b/WordPress/Docs/Classes/ClassInstantiationStandard.xml new file mode 100644 index 0000000000..b25fd34ce7 --- /dev/null +++ b/WordPress/Docs/Classes/ClassInstantiationStandard.xml @@ -0,0 +1,53 @@ + + + + + + + (); + ]]> + + + + + + + + + + + + + + (); + ]]> + + + + + + + + + + + & new Foobar(); + ]]> + + + From aecdaa763576c785779ecb214067436dbba3900b Mon Sep 17 00:00:00 2001 From: oltho Date: Sat, 28 Sep 2019 01:36:17 +0200 Subject: [PATCH 2/2] Proccessed feedback from jrfnl --- .../Docs/Classes/ClassInstantiationStandard.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/WordPress/Docs/Classes/ClassInstantiationStandard.xml b/WordPress/Docs/Classes/ClassInstantiationStandard.xml index b25fd34ce7..cdd749ecdd 100644 --- a/WordPress/Docs/Classes/ClassInstantiationStandard.xml +++ b/WordPress/Docs/Classes/ClassInstantiationStandard.xml @@ -1,7 +1,7 @@ @@ -18,16 +18,16 @@ $a = new Foobar; - + - + (); ]]> @@ -35,18 +35,18 @@ $a = new Foobar (); new Foobar(); ]]> & new Foobar(); +$a = & new Foobar(); ]]>