src/Token.php
public static function parser(string $token, string $secret): Parse
    {
        $jwt = new Jwt($token, $secret);

        return new Parse($jwt, new Validate(), new Encode());
    }
public static function parser(string $token, string $secret): Parse
    {
        $jwt = new Jwt($token, $secret);

        return new Parse($jwt, new Validate(), new Encode());
    }
public static function parser ( string $ token , string $ secret ) : Parse { $ jwt = new Jwt ( $ token , $ secret ) ; return new Parse ( $ jwt , new Validate ( ) , new Encode ( ) ) ; }
Factory method to return instance of the ReallySimpleJWT\Parse class.

@return Parse
Factory method to return instance of the ReallySimpleJWT \ Parse class .