src/Conpago/Helpers/AppPath.php
private function getPath(array $elements)
    {
        $path     = implode(DIRECTORY_SEPARATOR, $elements);
        $realPath = $this->fileSystem->realPath($path);
        return new Path($path, $realPath);
    }
private function getPath(array $elements)
    {
        $path     = implode(DIRECTORY_SEPARATOR, $elements);
        $realPath = $this->fileSystem->realPath($path);
        return new Path($path, $realPath);
    }
@param array $elements

@return IPath