src/SellerLabs/Nucleus/Support/Std.php
public static function rope($string, $encoding = null)
    {
        Arguments::define(Boa::string(), Boa::maybe(Boa::string()))
            ->check($string, $encoding);

        return new Rope($string, $encoding);
    }
public static function rope($string, $encoding = null)
    {
        Arguments::define(Boa::string(), Boa::maybe(Boa::string()))
            ->check($string, $encoding);

        return new Rope($string, $encoding);
    }
public static function rope ( $ string , $ encoding = null ) { Arguments :: define ( Boa :: string ( ) , Boa :: maybe ( Boa :: string ( ) ) ) -> check ( $ string , $ encoding ) ; return new Rope ( $ string , $ encoding ) ; }
Create a new instance of a rope.

@param string $string
@param string|null $encoding

@return Rope
Create a new instance of a rope .