Skip to content

Commit

Permalink
optional spy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nekufa committed May 3, 2024
1 parent 41cfb83 commit f1c7fdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

class Mapper extends Api
{
public bool $spy = false;

private array $spaceId = [];
private array $spaces = [];
private int $schemaId = 0;
Expand All @@ -25,6 +23,7 @@ class Mapper extends Api
public function __construct(
Client $client,
public ?CacheItemPoolInterface $cache = null,
public bool $spy = false,
) {
$this->middleware = new Middleware($this);
$this->client = $client->withMiddleware($this->middleware);
Expand Down

0 comments on commit f1c7fdb

Please sign in to comment.