public function toArray($keyType = null, $includeLazyLoadColumns = true, $alreadyDumpedObjects = array())
{
$item = parent::toArray(null === $keyType ? TableMap::TYPE_CAMELNAME : $keyType, $includeLazyLoadColumns, $alreadyDumpedObjects);
$item['name'] = $this->getName() . ($this->getName() !== '/' && $this->getType() == FileInfo::DIR ? '/' : '');
$item['dir'] = $this->getDir();
$item['icon'] = $this->getIcon();
$item['extension'] = $this->getExtension();
return $item;
}