Example #1
0
 /**
  * Set the string wrapper to detect the string length
  *
  * @param StringWrapper $stringWrapper
  * @return StringLength
  */
 public function setStringWrapper(StringWrapper $stringWrapper)
 {
     $stringWrapper->setEncoding($this->getEncoding());
     $this->stringWrapper = $stringWrapper;
 }