Could you try to access a public variable in someFunction()? Maybe that is where my problem is. I am trying to get a value which has been set through a POST request.
So simply try to return $this->name or $this->email in someFunction():