Hi all,
Phalcon handles $this
in classes in a weird way. Could you please explain the behavior below?
Class Foobar {
public function one() {
$this->two();
// The above like does not work as "$this" refers to something else in Phalcon (?)
Foobar::two();
// This works flawlessly. I'm wondering what's the performance overhead (if any)
}
public function two() {
echo "I'm function two()";
}
}