-
-
- - simplify - - ( - ) - -
-
-

Simplify expression.

-
-
Parameters:
-
-
    -
  • -

    $args (array) – Associative array

    -
  • -
-
-
-
-
+
+

Simple method

+
+
+ + class + + + Foo + + +
+
+
+
+
Foo::test($a, ...$args)
+
+

Simple test method.

+
+
Parameters:
+
+
    +
  • +

    $args (array) – Associative array

    +
  • +
+
+
+
+
+
+

Cross linking

+ +
+
diff --git a/test/unit/method.md b/test/unit/method.md index 7436a61..e7d0c1f 100644 --- a/test/unit/method.md +++ b/test/unit/method.md @@ -1,7 +1,17 @@ -```{eval-rst} -.. php:method:: Foo::simplify() +# Simple method + +:::{php:class} Foo +::: + +:::{php:method} test($a, ...$args) - Simplify expression. +Simple test method. - :param array $args: Associative array +```{eval-rst} +:param array $args: Associative array ``` +::: + +## Cross linking + +- {php:meth}`Foo::test()` diff --git a/test/unit/ns.md b/test/unit/ns.md index 0891c47..1ebfe4d 100644 --- a/test/unit/ns.md +++ b/test/unit/ns.md @@ -1,15 +1,14 @@ -```{eval-rst} -Simple NS -========= +# Simple NS -.. php:namespace:: Foo +:::{php:namespace} Foo +::: -.. php:class:: A +:::{php:class} A +::: -.. php:method:: simplify() +:::{php:method} simplify() +::: -Cross linking -************* +## Cross linking -* :php:meth:`A::simplify` -``` +- {php:meth}`A::simplify`