Lines Matching refs:client

20     protected static $client = null;  variable in Emojione\\Emojione
29 $client = static::getClient();
32 static::updateConfig($client);
34 if ( ! method_exists($client, $method) )
39 return call_user_func_array(array($client, $method), $args);
50 if ( static::$client === null )
55 return static::$client;
61 * @param ClientInterface $client The Client
64 public static function setClient(ClientInterface $client) argument
67 static::loadConfig($client);
69 static::$client = $client;
77 * @param ClientInterface $client The Client
80 protected static function loadConfig(ClientInterface $client) argument
82 static::$ascii = $client->ascii;
83 static::$unicodeAlt = $client->unicodeAlt;
84 static::$imageType = $client->imageType;
85 static::$cacheBustParam = $client->cacheBustParam;
86 static::$sprites = $client->sprites;
87 static::$imagePathPNG = $client->imagePathPNG;
88 static::$imagePathSVG = $client->imagePathSVG;
89 static::$imageTitleTag = $client->imageTitleTag;
90 static::$imagePathSVGSprites = $client->imagePathSVGSprites;
91 static::$ignoredRegexp = $client->ignoredRegexp;
92 static::$unicodeRegexp = $client->unicodeRegexp;
93 static::$shortcodeRegexp = $client->shortcodeRegexp;
101 * @param ClientInterface $client The Client
104 protected static function updateConfig(ClientInterface $client) argument
106 $client->ascii = static::$ascii;
107 $client->unicodeAlt = static::$unicodeAlt;
108 $client->imageType = static::$imageType;
109 $client->cacheBustParam = static::$cacheBustParam;
110 $client->sprites = static::$sprites;
111 $client->imagePathPNG = static::$imagePathPNG;
112 $client->imagePathSVG = static::$imagePathSVG;
113 $client->imageTitleTag = static::$imageTitleTag;
114 $client->imagePathSVGSprites = static::$imagePathSVGSprites;
115 $client->ignoredRegexp = static::$ignoredRegexp;
116 $client->unicodeRegexp = static::$unicodeRegexp;
117 $client->shortcodeRegexp = static::$shortcodeRegexp;