The function str_replace_first() has been deprecated with message: Str::replaceFirst() should be used directly instead. Will be removed in Laravel 6.0.
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be
removed from the class and what other function to use instead.
Loading history...
37
38
if (! $this->files->exists($path = $this->laravel['path'].DIRECTORY_SEPARATOR.$this->moduleName())) {
The trait Idable provides a method equalsId that in turn relies on the
method getId(). If this method does not exist on a class mixing in this
trait, the method will fail.
Adding the getId() as an abstract method to the trait will make sure it
is available.
Loading history...
63
}
64
65
/**
66
* Get the console command options.
67
*
68
* @return array
69
*/
70
protected function getOptions(): array
71
{
72
return array_merge(parent::getOptions(), [
73
['module', 'd', InputOption::VALUE_REQUIRED, 'The module name to generate the file within.'],
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.