PHP Class App\Listeners\LoveTrackOnLastfm

Afficher le fichier Open project: phanan/koel

Protected Properties

Свойство Type Description
$lastfm App\services\Lastfm The Last.fm service instance, which is DI'ed into our listener.

Méthodes publiques

Méthode Description
__construct ( Lastfm $lastfm ) Create the event listener.
handle ( SongLikeToggled $event ) Handle the event.

Method Details

__construct() public méthode

Create the event listener.
public __construct ( Lastfm $lastfm )
$lastfm App\services\Lastfm

handle() public méthode

Handle the event.
public handle ( SongLikeToggled $event )
$event App\Events\SongLikeToggled

Property Details

$lastfm protected_oe property

The Last.fm service instance, which is DI'ed into our listener.
protected Lastfm,App\Services $lastfm
Résultat App\services\Lastfm