This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Traits; | |
use Illuminate\Support\Str; | |
use Illuminate\Support\Facades\Hash; | |
trait ColumnsFromRequestTrait | |
{ | |
public function fillReceivedData() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function calculate() | |
{ | |
$day = date("d"); | |
$month = date("F"); | |
$year = date("Y"); | |
return sprintf('Today is %s of %s of %s', $day, $month, $year); | |
} |