How does the static password work in the default Laravel user factory? : <p>Per this link, <a href="https://laravel.com/docs/5.4/database-testing#writing-factories" rel="noreferrer">https://laravel.com/docs/5.4/database-testing#writing-factories</a>, the default Laravel user factory tests the value of a static <code>$password</code> variable.  If it is falsey, it bcrypts 'secret' and uses that.</p>

<p>How does one go about setting the value of the static variable <code>$password</code>?  Obviously I don't want to import it at the time the function is declared (since that would defeat the purpose of making it variable).  I realise that I can override the value of password by passing an array to the <code>make()</code> method, but this is a different thing altogether.</p>
