NETBien.backend/stubs/cast.inbound.stub
2025-06-01 12:32:11 -06:00

26 lines
593 B
Plaintext

<?php namespace {{ namespace }};
/**
* @copyright (c) 2025 Notsoweb Software (https://notsoweb.com) - All Rights Reserved
*/
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes;
/**
* Descripción
*
* @author Moisés Cortés C. <moises.cortes@notsoweb.com>
*
* @version 1.0.0
*/
class {{ class }} implements CastsInboundAttributes
{
/**
* Prepara el valor dado para almacenamiento.
*/
public function set(Model $model, string $key, mixed $value, array $attributes): mixed
{
return $value;
}
}