PHP Class App\Http\Controllers\LastFmController

Inheritance: extends Controller
Exibir arquivo Open project: unicodeveloper/laravel-hackathon-starter

Protected Properties

Property Type Description
$lastfm object; LastFm Object
$sampleArtist array

Public Methods

Method Description
__construct ( ) Initialize the Controller with necessary arguments
getPage ( ) : mixed Return all tweets to the LastFM API dashboard

Private Methods

Method Description
getArtistInfo ( ) : array Get Artist Info
getTopAlbums ( ) : array Get Top Albums
getTopTracks ( ) : array Get Top Tracks

Method Details

__construct() public method

Initialize the Controller with necessary arguments
public __construct ( )

getPage() public method

Return all tweets to the LastFM API dashboard
public getPage ( ) : mixed
return mixed

Property Details

$lastfm protected_oe property

LastFm Object
protected object; $lastfm
return object;

$sampleArtist protected_oe property

protected array $sampleArtist
return array