How to get fillable variable as array in laravel 4.2
<p>When we create any Model class we create protected variable fillable</p>

<p>I use this like </p>

<pre><code>$model = new Demo;
$model-&gt;fillable // but now working
$model-&gt;fillable() // but now working.
</code></pre>

<p>Actually i want to loop over that variable </p>

<p>But i don't want to create any extra variable and don't wanto to change variable </p>

<p>type from protected to public.</p>

<p>Thanks in Advance....</p>