src/Partial/Source.php
public static function fromString(string $string, bool $cutIndents = false): Source
    {
        $source = new self();

        return $source->setString($string, $cutIndents);
    }
public static function fromString(string $string, bool $cutIndents = false): Source
    {
        $source = new self();

        return $source->setString($string, $cutIndents);
    }
public static function fromString ( string $ string , bool $ cutIndents = false ) : Source { $ source = new self ( ) ; return $ source -> setString ( $ string , $ cutIndents ) ; }
Create version of source cut from specific string location.

@param string $string
@param bool   $cutIndents Function Strings::normalizeIndents will be applied.

@return Source
Create version of source cut from specific string location .