File "cast.inbound.stub"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/cast.inbound.stub
File size: 504 bytes
MIME-type: text/x-php
Charset: utf-8
<?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;
}
}