src/AnnotationScanner.php
public function startScan()
    {
        //First we get all the files we need form the directories
        $this->scanPaths();
        //Then we get the the annotations from the corresponding namespace and class name
        $annotations = $this->scanFileListForAnnotations();

        //Converting to collections
        $annotations = collect($annotations)->mapWithKeys(
            function ($annotations, $className) {
                return [$className => $annotations];
            }
        );
        $this->setAnnotations($annotations);
    }
public function startScan()
    {
        //First we get all the files we need form the directories
        $this->scanPaths();
        //Then we get the the annotations from the corresponding namespace and class name
        $annotations = $this->scanFileListForAnnotations();

        //Converting to collections
        $annotations = collect($annotations)->mapWithKeys(
            function ($annotations, $className) {
                return [$className => $annotations];
            }
        );
        $this->setAnnotations($annotations);
    }
public function startScan ( ) { //First we get all the files we need form the directories $ this -> scanPaths ( ) ; //Then we get the the annotations from the corresponding namespace and class name $ annotations = $ this -> scanFileListForAnnotations ( ) ; //Converting to collections $ annotations = collect ( $ annotations ) -> mapWithKeys ( function ( $ annotations , $ className ) { return [ $ className => $ annotations ] ; } ) ; $ this -> setAnnotations ( $ annotations ) ; }
Public method for starting the annotation scanner

@return void
Public method for starting the annotation scanner