|
|
|
@ -21,14 +21,14 @@ class NewsCategory {
|
|
|
|
|
const SOCIAL = 128;
|
|
|
|
|
|
|
|
|
|
const CATEGORIES = [
|
|
|
|
|
self::BUSINESS => "Business",
|
|
|
|
|
self::ENTERTAINMENT => "Entertainment",
|
|
|
|
|
self::GENERAL => "General",
|
|
|
|
|
self::HEALTH => "Health",
|
|
|
|
|
self::SCIENCE => "Science",
|
|
|
|
|
self::SPORTS => "Sports",
|
|
|
|
|
self::TECHNOLOGY => "Technology",
|
|
|
|
|
self::SOCIAL => "Social"
|
|
|
|
|
self::BUSINESS => "business",
|
|
|
|
|
self::ENTERTAINMENT => "entertainment",
|
|
|
|
|
self::GENERAL => "general",
|
|
|
|
|
self::HEALTH => "health",
|
|
|
|
|
self::SCIENCE => "science",
|
|
|
|
|
self::SPORTS => "sports",
|
|
|
|
|
self::TECHNOLOGY => "technology",
|
|
|
|
|
self::SOCIAL => "social"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
public function __construct(int $category) {
|
|
|
|
|