Example #1
0
 /**
  * @param string $string
  * @param bool   $cutIndents Function Strings::normalizeIndents will be applied.
  * @return Source
  */
 public static function fromString($string, $cutIndents = false)
 {
     $source = new self();
     return $source->setString($string, $cutIndents);
 }