I’ve a page model NewsPage
which extends from Page
, obviously. Now I want to create another Page model, which inherits from my NewsPage
. I don’t know if this is possible, when I try to, I need to reference the NewsPage
class before. So tried:
use \NewsPage
use NewsPage
but I don’t really know how to actually use it in my OtherPage
model. Could someone please give me a hint?
The use statement with non-compound name 'NewsPage' has no effect