caller ) ) { $this->setCaller( new WPAF_Global_Caller() ); } return $this->caller; } /** * set stored global caller object * perfect function to test stubs and mocks * * @param WPAF_Global_Caller $wpc */ public function setCaller( $wpc ) { $this->caller = $wpc; } }