From a580d0470e4a148950d9ed6ebb546de1cfbe0c33 Mon Sep 17 00:00:00 2001 From: Jordan Hall Date: Mon, 12 Feb 2018 00:20:56 +0000 Subject: [PATCH] Mention plural and singular methods --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea2f130..b158e73 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,11 @@ $word = new Word('cat'); $rhymes = $word->rhymes(); $halfRhymes = $word->halfRhymes(); -$numberOfSyllables = $word->syllables(); // Returns an integer -$isOffensive = $word->offensive(); // Returns true/false $portmanteaus = $word->portmanteaus(); +$numberOfSyllables = $word->syllables(); // Returns an integer +$isOffensive = $word->offensive(); // Returns true/false +$plural = $word->plural(); // Returns `Word` object +$singular = $word->singular; // Returns `Word` object ``` Most methods will return an array of `Word` objects, unless specified otherwise.