Learner\Models\Blog::category PHP Method

category() public method

A Blog belongs to a category.
public category ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo
    public function category()
    {
        return $this->belongsTo('Learner\\Models\\Category');
    }