sitepress = $sitepress; $this->project_factory = $project_factory; $this->tp_networking = $tp_networking; } /** * Instantiates a \WPML_TP_Service_Authentication instance * * @param stdClass $custom_field_data * * @return WPML_TP_Service_Authentication */ public function tp_authentication( $custom_field_data ) { return new WPML_TP_Service_Authentication( $this->sitepress, $this->tp_networking, $this->project_factory, $custom_field_data ); } public function tp_service_invalidation() { return new WPML_TP_Service_Invalidation( $this->sitepress ); } }