src/Subjects/FileResolver/SimpleFileResolver.php
protected function isEqualFilename($filename1, $filename2)
    {
        return $this->stripSuffix($filename1, $this->getSuffix()) === $this->stripSuffix($filename2, $this->getOkFileSuffix());
    }
protected function isEqualFilename($filename1, $filename2)
    {
        return $this->stripSuffix($filename1, $this->getSuffix()) === $this->stripSuffix($filename2, $this->getOkFileSuffix());
    }
Query whether or not the basename, without suffix, of the passed filenames are equal.

@param string $filename1 The first filename to compare
@param string $filename2 The second filename to compare

@return boolean TRUE if the passed files basename are equal, else FALSE