Castable.php 388 B

1234567891011121314
  1. <?php
  2. namespace Illuminate\Contracts\Database\Eloquent;
  3. interface Castable
  4. {
  5. /**
  6. * Get the name of the caster class to use when casting from / to this cast target.
  7. *
  8. * @param array $arguments
  9. * @return class-string<CastsAttributes|CastsInboundAttributes>|CastsAttributes|CastsInboundAttributes
  10. */
  11. public static function castUsing(array $arguments);
  12. }