Add support for CastsInboundAttributes (#1329)

* Add support for CastsInboundAttributes

* Update changelog

Co-authored-by: Simon Verwaard <[email protected]>
This commit is contained in:
sforward
2022-09-13 10:42:06 +02:00
committed by GitHub
co-authored by Simon Verwaard
parent e8ecb3da88
commit dda200fd34
5 changed files with 32 additions and 0 deletions
@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Barryvdh\LaravelIdeHelper\Tests\Console\ModelsCommand\LaravelCustomCasts\Casts;
use Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes;
class InboundAttributeCaster implements CastsInboundAttributes
{
public function set($model, string $key, $value, array $attributes)
{
// TODO: Implement set() method.
}
}