/** Get a Caller instance. * * @return Caller A Caller instance. * @static * @access public */ public static function getInstance() { if (!is_object(self::$instance)) { self::$instance = new SocketCaller(); } return self::$instance; }
/** Get a {@link SocketCaller} instance. * * @return SocketCaller A {@link SocketCaller} instance. * @static * @access public */ public static function getSocketCaller() { return SocketCaller::getInstance(); }