laravel collection to array : <p>I have two models, <code>Post</code> and <code>Comment</code>; many comments belong to a single post. I'm trying to access all comments associated with a post as an array.</p>

<p>I have the following, which gives a collection.</p>

<p><code>$comments_collection = $post-&gt;comments()-&gt;get()</code></p>

<p>How would I turn this <code>$comments_collection</code> into an array? Is there a more direct way of accessing this array through eloquent relationships?</p>
