Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.LANG.PHP
  • phpdoc: @uses and @usesby

    From fictitious@21:1/5 to All on Mon Apr 26 10:37:33 2021
    ++ cat phpdoc.dist.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <phpdocumentor
    configVersion="3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://www.phpdoc.org"

    xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"

    <paths>
    <output>build/api</output>
    <cache>build/cache</cache>
    </paths>
    <version number="3.0.0">
    <api>
    <source dsn=".">
    <path>src</path>
    </source>
    </api>
    </version>
    </phpdocumentor>
    ++ cat src/uses.php
    <?php

    class Client {
    /**
    * @uses Server::method2()
    */
    function method1(){}
    }

    class Server {
    function method2(){}
    }
    ++ phpdoc # making documentation...
    ++ cd build/api/classes
    ++ firefox Client.html # OUTPUT: https://pasteboard.co/JZ5l756.png
    ++ firefox Server.html # OUTPUT: https://pasteboard.co/JZ5mB8t.png

    If Server::method2() appears in the Tags -> uses section of Client documentation page (https://pasteboard.co/JZ5l756.png),
    Client::method1() should appear in the Server documentation page (https://pasteboard.co/JZ5mB8t.png).
    Why not compare?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fictitious@21:1/5 to All on Mon Apr 26 12:03:59 2021
    Il 26/04/21 10:37, fictitious ha scritto:
    ++ cat phpdoc.dist.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <phpdocumentor
            configVersion="3"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns="https://www.phpdoc.org"

    xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"

        <paths>
            <output>build/api</output>
            <cache>build/cache</cache>
        </paths>
        <version number="3.0.0">
            <api>
                <source dsn=".">
                    <path>src</path>
                </source>
            </api>
        </version>
    </phpdocumentor>
    ++ cat src/uses.php
    <?php

    class Client {
        /**
         * @uses Server::method2()
         */
        function method1(){}
    }

    class Server {
        function method2(){}
    }
    ++ phpdoc # making documentation...
    ++ cd build/api/classes
    ++ firefox Client.html # OUTPUT: https://pasteboard.co/JZ5l756.png
    ++ firefox Server.html # OUTPUT: https://pasteboard.co/JZ5mB8t.png

    If Server::method2() appears in the Tags -> uses section of Client documentation page (https://pasteboard.co/JZ5l756.png),
    Client::method1() should appear in the Server documentation page (https://pasteboard.co/JZ5mB8t.png).
    Why not compare?

    Of course hoping to have understood what is written here https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.uses.pkg.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fictitious@21:1/5 to All on Tue Apr 27 09:30:49 2021
    Il 26/04/21 12:03, fictitious ha scritto:
    Il 26/04/21 10:37, fictitious ha scritto:
    ++ cat phpdoc.dist.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <phpdocumentor
             configVersion="3"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns="https://www.phpdoc.org"

    xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"

         <paths>
             <output>build/api</output>
             <cache>build/cache</cache>
         </paths>
         <version number="3.0.0">
             <api>
                 <source dsn=".">
                     <path>src</path>
                 </source>
             </api>
         </version>
    </phpdocumentor>
    ++ cat src/uses.php
    <?php

    class Client {
         /**
          * @uses Server::method2()
          */
         function method1(){}
    }

    class Server {
         function method2(){}
    }
    ++ phpdoc # making documentation...
    ++ cd build/api/classes
    ++ firefox Client.html # OUTPUT: https://pasteboard.co/JZ5l756.png
    ++ firefox Server.html # OUTPUT: https://pasteboard.co/JZ5mB8t.png

    If Server::method2() appears in the Tags -> uses section of Client
    documentation page (https://pasteboard.co/JZ5l756.png),
    Client::method1() should appear in the Server documentation page
    (https://pasteboard.co/JZ5mB8t.png).
    Why not compare?

    Of course hoping to have understood what is written here https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.uses.pkg.html


    Nothing?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Ian Rihard Kosednar
      Fri Jun 20 13:26:05 2025
      from No via SSH
    • Plume
      Fri Jun 20 11:14:48 2025
      from Uk via SSH
    • Plume
      Fri Jun 20 10:27:30 2025
      from Uk via SSH
    • Gwylbert
      Fri Jun 20 10:22:36 2025
      from Sydney, Nsw via Telnet
    • Centurion
      Fri Jun 20 06:12:26 2025
      from Berea, Ohio via Telnet
    • Zharous
      Fri Jun 20 03:06:16 2025
      from Tempe, Az via Telnet
    • Plume
      Fri Jun 20 02:26:52 2025
      from Uk via Telnet
    • Zeroryouko
      Fri Jun 20 02:10:45 2025
      from Lomita, California via SSH
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 497
    Nodes: 16 (2 / 14)
    Uptime: 23:21:29
    Calls: 9,789
    Calls today: 8
    Files: 13,749
    Messages: 6,188,006

© >>> Magnum BBS <<<, 2025