Getting this error when I put use Blog;
at the top.
Warning: The use statement with non-compound name 'Blog' has no effect
in...
Blog
is my namespace in which I have 3 classes: Article, List and Category and a few functions.
If I change my statememnt to use BlogArticle;
then it works...
Can't I just specify the namespaces I want to use? Do I need to provide classes?
What if I have functions within that namespaces? When I call them outside of the namespace, I'm forced to prepend Blog
to each one's name...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…