Files
laravel-cart/src/ItemAttributeCollection.php
T
Joel Male 313a4f7aa2 Revert "1.0.7"
This reverts commit 4a312a37e2.
2024-08-30 10:08:27 +10:00

18 lines
272 B
PHP

<?php
namespace Wearepixel\Cart;
use Illuminate\Support\Collection;
class ItemAttributeCollection extends Collection
{
public function __get($name)
{
if ($this->has($name)) {
return $this->get($name);
}
return null;
}
}