Skip to content

Commit

Permalink
Allow setting dynamic properties on IterableObjects (e.g. CollectionI…
Browse files Browse the repository at this point in the history
…tems)
  • Loading branch information
damiani committed Mar 21, 2024
1 parent 677fccb commit e01a21c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IterableObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

namespace TightenCo\Jigsaw;

use AllowDynamicProperties;
use ArrayAccess;
use Exception;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection as BaseCollection;
use Illuminate\Support\HigherOrderCollectionProxy;

#[AllowDynamicProperties]
class IterableObject extends BaseCollection implements ArrayAccess
{
public function __get($key)
Expand Down

0 comments on commit e01a21c

Please sign in to comment.