I can do a print_r of an employee object that I'm trying to pass into another method in another class and get the following:
emp Object ( [db:emp:private] => PDO Object ( ) [salesId:emp:private] => )
When I attempt to pass this object, I get an undefined variable error message. What am I doing wrong? Is there a PHP function that I can use to test this somehow? This object works great anywhere else.