public getChildren ( ) : org\bovigo\vfs\vfsStreamContent[] | ||
return | org\bovigo\vfs\vfsStreamContent[] |
public function getChildren()
{
return array_values($this->children);
}
public function testShouldBeAbleToDeleteExistingFile() { $localDelete = new DefaultDelete($this->root->url() . '/testfile1'); $localDelete->execute(); $this->assertEquals(1, count($this->root->getChildren())); $this->assertEquals('testfile2', $this->root->getChildren()[0]->getName()); }