Open osc2nuke opened 6 years ago
Using phpStorm i get a notice in my controller:
"Method flash not found in \Gears\Session. Referenced Method is not found in subject class"
in my controller: Session::flash('message', $product->getName() . ' added to cart'); in my View: ` @if ($flash = Session::get('message'))
Session::flash('message', $product->getName() . ' added to cart');
@endif
`
But the call works: https://www.youtube.com/watch?v=WtJbyb7TgCk
Using phpStorm i get a notice in my controller:
in my controller:
Session::flash('message', $product->getName() . ' added to cart');
in my View: ` @if ($flash = Session::get('message'))`
But the call works: https://www.youtube.com/watch?v=WtJbyb7TgCk