private function matchingCroppedfiles($pathName, &$croppedFiles)
{
if (count($croppedFiles)) {
$possibleCroppedFile = $croppedFiles[0];
$croppedPathName = $this->stringPopExtension($possibleCroppedFile, 3);
$imagePathName = $this->stringPopExtension($pathName);
if ($croppedPathName == $imagePathName) {
$mathingFiles = $croppedFiles;
$croppedFiles = [];
return $mathingFiles;
}
}
}