protected function registerReader()
    {
        // Give a Cached Reader when our
        // reader class needs
        // a ReaderContract.
        $this->app->when(AnnotationsReader::class)
                  ->needs(Reader::class)
                  ->give(function () {
                      return $this->createAndReturnCachedReader();
                  });
    }
protected function registerReader()
    {
        // Give a Cached Reader when our
        // reader class needs
        // a ReaderContract.
        $this->app->when(AnnotationsReader::class)
                  ->needs(Reader::class)
                  ->give(function () {
                      return $this->createAndReturnCachedReader();
                  });
    }
protected function registerReader ( ) { // Give a Cached Reader when our // reader class needs // a ReaderContract. $ this -> app -> when ( AnnotationsReader :: class ) -> needs ( Reader :: class ) -> give ( function ( ) { return $ this -> createAndReturnCachedReader ( ) ; } ) ; }
Registers the Annotations reader.

@return void
Registers the Annotations reader .