HighSpeaker/vendor/illuminate/contracts/Database/Eloquent/Castable.php

16 lines
444 B
PHP
Raw Normal View History

2022-12-24 22:10:40 +08:00
<?php
namespace Illuminate\Contracts\Database\Eloquent;
interface Castable
{
/**
* Get the name of the caster class to use when casting from / to this cast target.
*
* @param array $arguments
* @return string
* @return string|\Illuminate\Contracts\Database\Eloquent\CastsAttributes|\Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes
*/
public static function castUsing(array $arguments);
}