Swift_CharacterStream_ArrayCharacterStream::__construct
Create a new CharacterStream with the given $chars, if set.
Signature
public function __construct(Swift_CharacterReaderFactory
$factory,
string
$charset )
Parameters
$factory
— Swift_CharacterReaderFactory- for loading validators
$charset
— string- used in the stream