src/Http/RouteResolver.php
protected function getCsrfToken(): ?string
    {
        if (is_null($this->csrfToken)) {
            $this->csrfToken = $this->app->make('session')->token();
        }

        return $this->csrfToken;
    }
protected function getCsrfToken(): ?string
    {
        if (is_null($this->csrfToken)) {
            $this->csrfToken = $this->app->make('session')->token();
        }

        return $this->csrfToken;
    }
protected function getCsrfToken ( ) : ? string { if ( is_null ( $ this -> csrfToken ) ) { $ this -> csrfToken = $ this -> app -> make ( 'session' ) -> token ( ) ; } return $ this -> csrfToken ; }
Get CSRF Token.

@return string|null
Get CSRF Token .