I have a question about how is the best way to realize it.
class name {
  public function method($a){ 
    $this->a = $a; 
  }
  public function two($b){
    $this->b = $b;
  }
}
How I call $class->method('a')->two('b'); ?
return __CLASS__; // self?
on every method? or what? idk what is the best way or how all frameworks realize it.
If anyone can guide me I'll be very greatful... thanks!