public function generate()
    {
        $reference = [];

        $scanner = $this->getScanner();

        /** @var  $class ClassScanner */
        foreach ($scanner->getClasses() as $class) {
            $footprint = $this->getClassFootprint($class);
            $reference[$class->getName()] = $footprint->export();
        }
        $reference = json_encode($reference);

        return $reference;
    }