Files
starter-kit/vendor/illuminate/contracts/Database/Eloquent/Castable.php
T
2025-06-13 10:48:20 -10:00

15 lines
388 B
PHP

<?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 class-string<CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes
*/
public static function castUsing(array $arguments);
}