src/Util/ContentListingFormatter.php
private function isDirectChild(array $entry)
    {
        return $this->caseSensitive
            ? $entry['dirname'] === $this->directory
            : strcasecmp($this->directory, $entry['dirname']) === 0;
    }
private function isDirectChild(array $entry)
    {
        return $this->caseSensitive
            ? $entry['dirname'] === $this->directory
            : strcasecmp($this->directory, $entry['dirname']) === 0;
    }
private function isDirectChild ( array $ entry ) { return $ this -> caseSensitive ? $ entry [ 'dirname' ] === $ this -> directory : strcasecmp ( $ this -> directory , $ entry [ 'dirname' ] ) === 0 ; }
Check if the entry is a direct child of the directory.

@param array $entry

@return bool
Check if the entry is a direct child of the directory .