public function withCode(string $code): ViewSource
    {
        $context = clone $this;
        $context->code = $code;

        return $context;
    }
public function withCode(string $code): ViewSource
    {
        $context = clone $this;
        $context->code = $code;

        return $context;
    }
public function withCode ( string $ code ) : ViewSource { $ context = clone $ this ; $ context -> code = $ code ; return $ context ; }
Get source copy with redefined code.

@param string $code
@return self
Get source copy with redefined code .