for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Models;
use Sofa\Eloquence\Metable\InvalidMutatorException;
/**
* Class PaymentCheckout
* @package App\Models
*/
class PaymentCheckout extends ChocolateyModel
{
* Disable Timestamps
*
* @var bool
public $timestamps = false;
* The table associated with the model.
* @var string
protected $table = 'chocolatey_shop_payment_checkout';
* Primary Key of the Table
protected $primaryKey = 'id';
* Store Function
* A Checkout can't be inserted by the CMS.
* Only by the Emulator
public function store()
throw new InvalidMutatorException("You cannot store a Payment Checkout by Chocolatey. Checkouts are created by the Engine.");
}