public function listChildren()
{
$children = new ArrayResourceCollection();
if (!$this->getRepository()) {
return $children;
}
foreach ($this->getRepository()->listChildren($this->getRepositoryPath()) as $child) {
$children[$child->getName()] = $child;
}
return $children;
}