ScopedBy.php 347 B

12345678910111213141516171819
  1. <?php
  2. namespace Illuminate\Database\Eloquent\Attributes;
  3. use Attribute;
  4. #[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
  5. class ScopedBy
  6. {
  7. /**
  8. * Create a new attribute instance.
  9. *
  10. * @param array|string $classes
  11. * @return void
  12. */
  13. public function __construct(array|string $classes)
  14. {
  15. }
  16. }