We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d993d commit 13bf74dCopy full SHA for 13bf74d
src/Word.php
@@ -70,24 +70,6 @@ public function halfRhymes()
70
return $this->rhymes(true);
71
}
72
73
- private function wordInfo()
74
- {
75
- $cacheKey = $this->word.'.info';
76
-
77
- $value = $this->cache->get($cacheKey);
78
79
- if ($value) {
80
- return $value;
81
- }
82
83
- $response = file_get_contents('http://rhymebrain.com/talk?function=getWordInfo&word='.urlencode($this->word));
84
- $wordInfo = json_decode($response);
85
86
- $this->cache->set($cacheKey, $wordInfo);
87
88
- return $wordInfo;
89
90
91
public function syllables()
92
{
93
return Syllables::syllableCount($this->word);
0 commit comments