Sync
This commit is contained in:
16
app/View/Composers/StatsComposer.php
Normal file
16
app/View/Composers/StatsComposer.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Composers;
|
||||
|
||||
use Illuminate\View\View;
|
||||
|
||||
class StatsComposer
|
||||
{
|
||||
public function compose(View $view)
|
||||
{
|
||||
$tools_count = round_to_nearest_base(700);
|
||||
|
||||
$view->with('tools_count', $tools_count);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user