class
Illuminate
/
Foundation
/
Events
/
DiscoverEvents
You are viewing an older version of the documentation. For the latest, please visit master documentation.
DiscoverEvents
Methods
public
static
within ( $listenerPath , $basePath ) : array
Get all of the events and listeners by searching the given listener directory.
Parameters
- $listenerPath string
- $basePath string
protected
static
getListenerEvents ( $listeners , $basePath ) : array
Get all of the listeners and their corresponding events.
Parameters
- $listeners iterable
- $basePath string
protected
static
classFromFile ( SplFileInfo $file , $basePath ) : string
Extract the class name from the given file path.
Parameters
- $file SplFileInfo
- $basePath string