TestCase::doesntExpectModelEvents()
  • References/PHP/Laravel/Foundation/Testing

$this doesntExpectModelEvents(string $model, array|string $events) Specify

2025-01-10 15:47:30
MorphPivot::getAttribute()
  • References/PHP/Laravel/Database/Eloquent/Relations

mixed getAttribute(string $key) Get an attribute from the model.

2025-01-10 15:47:30
MorphPivot::toJson()
  • References/PHP/Laravel/Database/Eloquent/Relations

string toJson(int $options) Convert the model instance to JSON.

2025-01-10 15:47:30
MigrateCommand::getOutput()
  • References/PHP/Laravel/Database/Console/Migrations

OutputInterface getOutput() Get the output implementation.

2025-01-10 15:47:30
RollbackCommand::comment()
  • References/PHP/Laravel/Database/Console/Migrations

void comment(string $string, null|int|string $verbosity = null) Write a

2025-01-10 15:47:30
MorphPivot::saving()
  • References/PHP/Laravel/Database/Eloquent/Relations

static void saving(Closure|string $callback, int $priority)

2025-01-10 15:47:30
User::cant()
  • References/PHP/Laravel/Foundation/Auth

bool cant(string $ability, array|mixed $arguments = array()) Determine

2025-01-10 15:47:30
User::flushEventListeners()
  • References/PHP/Laravel/Foundation/Auth

static void flushEventListeners() Remove all of the event listeners

2025-01-10 15:47:30
User::push()
  • References/PHP/Laravel/Foundation/Auth

bool push() Save the model and all of its relationships.

2025-01-10 15:47:30
MorphOneOrMany::touch()
  • References/PHP/Laravel/Database/Eloquent/Relations

void touch() Touch all of the related models for the relationship.

2025-01-10 15:47:30