Vendor
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace Nuwave\Lighthouse\Events;
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
/**
|
||||
* Fires right before resolving an individual query.
|
||||
*
|
||||
* Might happen multiple times in a single request if
|
||||
* query batching is used.
|
||||
*/
|
||||
class StartExecution
|
||||
{
|
||||
/**
|
||||
* The point in time when the query execution started.
|
||||
*
|
||||
* @var \Carbon\Carbon
|
||||
*/
|
||||
public $moment;
|
||||
|
||||
/**
|
||||
* StartRequest constructor.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->moment = Carbon::now();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user