title: How I can convert Object to String in laravel 4
body: <p>I have a function in the model and I return it to a variable like the following</p>
  
  <pre><code> $books = DB::select('select * from books where category_id = 2');
   return $books;
  </code></pre>
  
  <p>And Laravel Query Builder return an object.How I can convert it to the string from the controller? Have a function for that? Please let's me know.</p>