Version 1.0.0
This commit is contained in:
23
src/Object/Request.php
Normal file
23
src/Object/Request.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Diffhead\PHP\DataEnrichmentKit\Object;
|
||||
|
||||
class Request
|
||||
{
|
||||
public function __construct(
|
||||
private ItemsBag $items,
|
||||
private Target $target
|
||||
) {}
|
||||
|
||||
public function items(): ItemsBag
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
|
||||
public function target(): Target
|
||||
{
|
||||
return $this->target;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user