final class StructuredGenerator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Formats PostgreSQL binary, interval, JSON and array values.

Methods§

public function generateBytea(Generator $faker): string

Generates bytea.

Parameters

$fakerGenerator

Returns

string
Test cases 1
Called from 1
Calls 4
public function generateInterval(Generator $faker): string

Generates interval.

Parameters

$fakerGenerator

Returns

string
Test cases 1
Called from 1
Calls 2
  • method-call Generator::randomElement() line 34
  • method-call Generator::numberBetween() line 35
public function generateJson(Generator $faker): string
public function generateIntArray(Generator $faker): string

Generates int array.

Parameters

$fakerGenerator

Returns

string
Test cases 1
Called from 1
Calls 2
  • method-call Generator::numberBetween() line 58
  • function-call implode line 64
public function generateTextArray(Generator $faker): string

Generates text array.

Parameters

$fakerGenerator

Returns

string
Test cases 1
Called from 1
Calls 3
  • method-call Generator::numberBetween() line 72
  • method-call Generator::word() line 75
  • function-call implode line 78

Test cases 15§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5
Other tests reaching this symbol 10

Relations§

Instantiated in 6
Method calls 6