Castable.php 444 B

123456789101112131415
  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 string
  10. * @return string|\Illuminate\Contracts\Database\Eloquent\CastsAttributes|\Illuminate\Contracts\Database\Eloquent\CastsInboundAttributes
  11. */
  12. public static function castUsing(array $arguments);
  13. }