Why using of @extends
in PHP file (using of @
with any text or string)?
@extends('front.layouts.master')
@section('content')
// ...
@endsection
And also tell me @if
, @endif
example for ifelse condition, I am lilbit confused about using of @
with any syntax or text,
Example code
@if ($errors->has('firstname'))
<span class="help-block">
<strong>{{ $errors->first('firstname') }}</strong>
</span>
@endif