Cách để Thuộc tính không xác định. Collective\Annotations\Routing\Annotations\ResourcePath. $no_prefix với các ví dụ

Nếu bạn đang tìm giải pháp cho câu hỏi Làm thế nào để Undefined property. Collective\Annotations\Routing\Annotations\ResourcePath. $no_prefix với các ví dụ thì bài viết này là dành cho bạn. Tôi sẽ cung cấp cho bạn một ví dụ 1 để giúp bạn giải quyết vấn đề này.

Cách để Thuộc tính không xác định. Collective\Annotations\Routing\Annotations\ResourcePath. $no_prefix với các ví dụ
//When tring to run "php artisan route:scan"
//Error: Undefined property: Collective\Annotations\Routing\Annotations\ResourcePath::$no_prefix
Check your route annotations. The annotations must follow a order, 
the annotations @Controller must be in first then the annotation @Resource.

//WRONG Example
/**
 * @Resource(...)
 * @Controller(...)
 */

//RIGHT Example
/**
 * @Controller(...)
 * @Resource(...)
 */

Nếu bạn không hài lòng với câu trả lời của tôi về Cách xác định thuộc tính. Collective\Annotations\Routing\Annotations\ResourcePath. $no_prefix với các ví dụ. Xem thêm các chủ đề tương tự hoặc để lại cho tôi một câu hỏi mới. Nếu bạn không hài lòng với câu trả lời của tôi về Cách xác định thuộc tính. Collective\Annotations\Routing\Annotations\ResourcePath. $no_prefix với các ví dụ

chưa xác định