Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
504 B
Plaintext
Executable File
23 lines
504 B
Plaintext
Executable File
<?php
|
|
|
|
namespace {{ namespace }};
|
|
|
|
use Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes;
|
|
|
|
class {{ class }} implements CastsInboundAttributes
|
|
{
|
|
/**
|
|
* Prepare the given value for storage.
|
|
*
|
|
* @param \Illuminate\Database\Eloquent\Model $model
|
|
* @param string $key
|
|
* @param mixed $value
|
|
* @param array $attributes
|
|
* @return mixed
|
|
*/
|
|
public function set($model, string $key, $value, array $attributes)
|
|
{
|
|
return $value;
|
|
}
|
|
}
|