adds child to the directory
vfsStreamContent $child:
Overrides vfsStreamContainer::addChild
public function addChild(vfsStreamContent $child) { $child->setParentPath($this->path()); $this->children[$child->getName()] = $child; $this->updateModifications(); }