I see in codeigniter a sintaxis method->other_method->other_method_again. example:
$this->db->select()->join()->findAll();
When i try
class MyClass{
public function bla(){
echo "bla";
}
public function other(){
echo "other";
}
}
$message = new MyClass();
$message->bla()->other();
Return:
Fatal error: Call to a member function other()
as I can do what codeigniter?