mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-13 08:44:01 +02:00
Add docblocks for str and encoding
This commit is contained in:
@@ -4,8 +4,19 @@ namespace Stringy;
|
|||||||
|
|
||||||
class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
class Stringy implements \Countable, \IteratorAggregate, \ArrayAccess
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* An instance's string.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $str;
|
protected $str;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The string's encoding, which should be one of the mbstring module's
|
||||||
|
* supported encodings.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
protected $encoding;
|
protected $encoding;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user