From 8e16ad472d2b85e965f1f7ffa8e98ec606e951b2 Mon Sep 17 00:00:00 2001 From: "Daniel St. Jules" Date: Tue, 14 Oct 2014 23:14:02 -0700 Subject: [PATCH] Add docblocks for str and encoding --- src/Stringy.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Stringy.php b/src/Stringy.php index 1de02a5..4cb6100 100644 --- a/src/Stringy.php +++ b/src/Stringy.php @@ -4,8 +4,19 @@ namespace Stringy; class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess { + /** + * An instance's string. + * + * @var string + */ protected $str; + /** + * The string's encoding, which should be one of the mbstring module's + * supported encodings. + * + * @var string + */ protected $encoding; /**