blob: 911b1cf86af2a29f619bb8e84c2c3561018cab51 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Database\Eloquent;
4
5interface Castable
6{
7 /**
8 * Get the name of the caster class to use when casting from / to this cast target.
9 *
10 * @param array $arguments
11 * @return string
12 * @return string|\Illuminate\Contracts\Database\Eloquent\CastsAttributes|\Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes
13 */
14 public static function castUsing(array $arguments);
15}