app/Http/Controllers/RestTestController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $users = \DB::table('blog_posts')->get();
        foreach ($users as $user) {
            echo '---------------------------------'.'<br>';
            echo $user->content_html.'<br>';
        }
    }
public function index ( ) { $ users = \ DB :: table ( 'blog_posts' ) -> get ( ) ; foreach ( $ users as $ user ) { echo '---------------------------------' . '<br>' ; echo $ user -> content_html . '<br>' ; } }
Display a listing of the resource.
Display a listing of the resource .
// Показать сущность