protected function generatePath(SplFileInfo $fileinfo, $skeletonPath, $targetPath, Inflector $inflector)
    {
        return $inflector->translate(sprintf('%s%s',
            $targetPath,
            str_replace($skeletonPath, '', $fileinfo->getRealPath())
        ));
    }
protected function generatePath(SplFileInfo $fileinfo, $skeletonPath, $targetPath, Inflector $inflector)
    {
        return $inflector->translate(sprintf('%s%s',
            $targetPath,
            str_replace($skeletonPath, '', $fileinfo->getRealPath())
        ));
    }
protected function generatePath ( SplFileInfo $ fileinfo , $ skeletonPath , $ targetPath , Inflector $ inflector ) { return $ inflector -> translate ( sprintf ( '%s%s' , $ targetPath , str_replace ( $ skeletonPath , '' , $ fileinfo -> getRealPath ( ) ) ) ) ; }
generate targer file path from source path.

@param SplFileInfo $fileinfo
@param string      $skeletonPath
@param string      $targetPath
@param Inflector   $inflector

@return string
generate targer file path from source path .