You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the command php artisan wn:model Models/Product generates Products.php inside the Models directory as expected but does not add the \Models postfix to the namespace and sets the class name as Models/Product.
Using PHP 7.1 and Lumen 5.4
<?php namespace App;
use Illuminate\Database\Eloquent\Model;
class Models/Product extends Model {
protected $fillable = [];
protected $dates = [];
public static $rules = [
// Validation rules
];
// Relationships
}
The text was updated successfully, but these errors were encountered:
Using the command
php artisan wn:model Models/Product
generatesProducts.php
inside theModels
directory as expected but does not add the\Models
postfix to the namespace and sets the class name asModels/Product
.Using PHP 7.1 and Lumen 5.4
The text was updated successfully, but these errors were encountered: