Skip to main content
7 events
when toggle format what by license comment
Jun 10, 2020 at 13:24 history edited CommunityBot
Commonmark migration
Nov 13, 2015 at 15:57 comment added anon Using $this when not in object context - Visual Studio debugger too with PHP Tools from Devsense
Nov 13, 2015 at 15:52 comment added Marco Aurélio Deleu What I meant was what error you get when trying to access it through $this->. Make the private $link variable non-static and replace every static::$link with $this->link.
Nov 13, 2015 at 15:51 comment added anon I don't get any errors, as I said in my question, the class works fully and operationally, I just don't get what you mean by You're already using the Singleton Pattern, to make the $link variable static is double redundant against the pattern.
Nov 13, 2015 at 15:15 comment added Marco Aurélio Deleu What error do you get?
Nov 13, 2015 at 15:14 comment added anon I use static for the $link as I am unable to access it otherwise, it does not allow me to use $this->link, I am stuck with static::$link unless there is another way to access it?
Nov 13, 2015 at 13:02 history answered Marco Aurélio Deleu CC BY-SA 3.0