Answer the question
In order to leave comments, you need to log in
How to make a routing rule in YII2?
Help to create routing rules for links of the form:
domain/item-451
domain/category/item-452
domain/category/sub_category/item-453
domain/category/sub_category/sub_n_category/item-
453 one action.
Answer the question
In order to leave comments, you need to log in
Apparently, this makes it possible, with static typing, to understand that working with any card on the Dashboard, you can get the following properties
from it
A in general to comply with OOP
Abstract class inheritance allows you to inherit common properties, as well as override them and set your specific implementation in the DashboardUsersComponent class. In this case, you need to look at the AbstractDashboardCard class.
Also in the code, the constructor of the parent abstract class is called through super and the data is injected into it injector.get
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question