CrossJoinSequence
class CrossJoinSequence extends Sequence (View source)
Properties
| protected array | $sequence | The sequence of return values. | from Sequence |
| int | $count | The count of the sequence items. | from Sequence |
| int | $index | The current index of the sequence iteration. | from Sequence |
Methods
| void | __construct(array ...$sequences)
Create a new cross join sequence instance. | |
| int | count()
Get the current count of the sequence items. | from Sequence |
| mixed | __invoke()
Get the next value in the sequence. | from Sequence |
Details
void __construct(array ...$sequences)
Create a new cross join sequence instance.
int count()
Get the current count of the sequence items.
mixed __invoke()
Get the next value in the sequence.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Database/Eloquent/Factories/CrossJoinSequence.html