Created
November 17, 2017 14:20
-
-
Save NtimYeboah/41727d445f835a177d020e317ae098fa to your computer and use it in GitHub Desktop.
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 Kudobuzz\Entities; | |
use Kudobuzz\Contracts\OrderInterface; | |
class Lead implements OrderInterface | |
{ | |
public function create() | |
{ | |
//...Some stuff | |
$order->approved_at = Carbon::now(); | |
$order->status = Order::APPROVED; | |
$order->save(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment