private function makePaths($file)
    {
        $file = realpath($file);

        $base_path = $this->provider->vars->getPath();

        $filesystem = new Filesystem();
        $abs_path = $filesystem->makePathRelative(
            $file,
            $base_path
        );

        $this->file = $file;
        $this->filename = rtrim($abs_path, "/");
    }
private function makePaths($file)
    {
        $file = realpath($file);

        $base_path = $this->provider->vars->getPath();

        $filesystem = new Filesystem();
        $abs_path = $filesystem->makePathRelative(
            $file,
            $base_path
        );

        $this->file = $file;
        $this->filename = rtrim($abs_path, "/");
    }
private function makePaths ( $ file ) { $ file = realpath ( $ file ) ; $ base_path = $ this -> provider -> vars -> getPath ( ) ; $ filesystem = new Filesystem ( ) ; $ abs_path = $ filesystem -> makePathRelative ( $ file , $ base_path ) ; $ this -> file = $ file ; $ this -> filename = rtrim ( $ abs_path , "/" ) ; }
Make the paths used for the filename variable

@param string $file The passed file
Make the paths used for the filename variable