static bool isUnguarded() Determine if current state is "unguarded". Return Value bool
$this setHidden(array $hidden) Set the hidden attributes for the model. Parameters array $hidden Return Value $this
TokenGuard class TokenGuard implements Guard (View source) Traits GuardHelpers These methods are typically the same across all guards.
static array compiles() Get a list of files that should be compiled for the package. Return Value array
void addNamespace(string $namespace, string|array $hints) Add a namespace hint to the finder. Parameters string $namespace string|array $hints Return Value void
static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException
$this setRawAttributes(array $attributes, bool $sync = false) Set the array of model attributes. No checking is done. Parameters array $attributes bool $sync Return Value $this
int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
Collection take(int $limit) Take the first or last {$limit} items. Parameters int $limit Return Value Collection
Page 269 of 996