SSLTrack::getArtist PHP Method

getArtist() public method

public getArtist ( )
    public function getArtist()
    {
        return $this->artist;
    }

Usage Example

    public function notifyNowPlaying(SSLTrack $track = null)
    {
        $nicecastOutput = <<<EOF
Title: {$track->getTitle()}
Artist: {$track->getArtist()}
Album: {$track->getAlbum()}
Time: {$track->getLength()}
EOF;
        file_put_contents($this->getFilename(), $nicecastOutput);
    }
All Usage Examples Of SSLTrack::getArtist