35 if ($child->getName() ===
$name)
return $child;
An exception for terminatinating execution or to throw for unit testing.
createDirectory($name)
Creates a new subdirectory.
getChild($name)
Returns a child object, by its name.
childExists($name)
Checks is a child-node exists.
createFile($name, $data=null)
Creates a new file in the directory.
The ICollection Interface.
getChildren()
Returns an array with all the child nodes.