public function add(\SplFileInfo $file)
    {
        $content = new \Org_Heigl\FileFinder\Service\Tokenlist(file_get_contents($file->getPathname()));
        $classname = $content->getClassName();
        if (! $classname) {
            return;
        }

        $class = $content->getNamespace();
        $class[] = $classname;

        $key = str_replace('\\\\', '\\', '\\' . implode('\\', $class));

        $this->list[$key] = realpath($file->getPathname());
    }