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

15 lines
388 B
PHP
Raw Normal View History

2022-12-24 19:40:40 +05:30
<?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
2024-01-31 19:45:08 +05:30
* @return class-string<CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes
2022-12-24 19:40:40 +05:30
*/
public static function castUsing(array $arguments);
}