If I can explicitly declare the type of the var member (esp. Another class as a member), then their IDE (for example, Dreamweaver) can know the member.
class PHPClass(){ OtherClass $member_var; }
The only way is to use this documentation:
class MyClass { /** * @var OtherClass This is my other class */ private $other; }
You cannot do this in PHP, but you can get closer using the hinting type :
class PHPClass { protected $member_var; public function __construct(OtherClass $member) { $this->member_var = $member; } }
I do not know if this will help you in Dreamweaver.
Source: https://habr.com/ru/post/914537/More articles:how to store video in database using mysql? - mysqlIs there a way to get an element from a set O (1) times? - pythonPublishing an unmanaged DLL from a referenced project - c #Is there an advantage to dividing iPhone and iPad classes on a universal app? - coding-styleRequest if the Windows service is disabled (without using the registry)? - c #Get Disabled Windows Service Status - c #That indicates the presence of restrictions for type parameters in .NET (base class and interface restrictions) - genericsHow to include all resources in one html file? - htmlinitializing a char array with spaces - c ++Getting inverse (1 / x) elements of a numpy array - pythonAll Articles