I have Netbeans installed with Visual Paradigm plugin.
I have converted my php code into UML diagrams (modeling -> instant reverse). I can see relations (drawn lines) between superclass and subclasses. However, i cannot see relations between objects inside objects (compos开发者_JS百科ition/aggregation/association)?
The code looks like:
class Thread {
    private $tag = '';
    public function __construct($tagObject) {
         $this->tag = $tagObject;
    }
}
I know its possible using Java cause i've read about it.
Im using PHP, is this still possible?
I haven't used that plugin, but you probably need to add type hinting for it to work.
public function __construct(Tag $tagObject) { /*...*/ }
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论