for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Resova\Models;
use Resova\Model;
/**
* Class BasketRequest
*
* @package Resova\Models
*/
class BasketRequest extends Model
{
public function allowed(): array
return [
'customer_id' => 'int', // The id of the primary customer for the basket
'expires_at' => 'string', // The timestamp of when the basket expires. Manually override the expiration date for the basket
];
}