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;
    }
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;
    }
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 ; }
Create JSON reference from given directories

@return string
Create JSON reference from given directories