https://snipt.net/embed/5d318b260db9f79e2849dd66843c1361/
/raw/5d318b260db9f79e2849dd66843c1361/
5d318b260db9f79e2849dd66843c1361
text
Text only
1
2025-04-04T11:36:08
True
False
False
Dec 19, 2017 at 03:11 AM
/api/public/snipt/19/
laravel-get-user-id
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$id = \Auth::user()->id;
</span></pre></div>
</td></tr></table>
laravel
| \Session::flash('success', "rows imported successfully.");
$request->session()->flash('danger', "There were $num_errors errors.");
|
https://snipt.net/embed/ae12ecf7b516246d961ed5eab8cef527/
/raw/ae12ecf7b516246d961ed5eab8cef527/
ae12ecf7b516246d961ed5eab8cef527
text
Text only
3
2025-04-03T15:22:01
True
False
False
Dec 18, 2017 at 11:52 PM
/api/public/snipt/18/
flash-message
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a>
<a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>\Session::flash('success', "rows imported successfully.");
</span><span id="L-2"><a name="L-2"></a>$request->session()->flash('danger', "There were $num_errors errors.");
</span></pre></div>
</td></tr></table>
laravel