well lets say I have both an ArrayList and a LinkedList class, both are in the same namespace Resource\Collection. If I want to use ArrayList in LinkedList(more like typehinting in constructor method), do I need to import ArrayList like this:
namespace Resource\Collection;
use \Resource\Collection\ArrayList as Arraylist;
class LinkedList{
// code inside
}
or can I use classes within the same namespace without explicitly importing?