<?php return [ 'display' => 25, ];
In example above, a php file contain a constant integer number which can be use anywhere in project folder. Thus to invoke the calling method, we can write like this :
@section('page-content')
Config::get('columns.display');
@endsection
No comments:
Post a Comment