<?php declare(strict_types=1); /* * Copyright (c) Ne-Lexa * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @see https://github.com/Ne-Lexa/google-play-scraper */ namespace Nelexa\GPlay\Model; use Nelexa\GPlay\GPlayApps; /** * Contains the title and link to the cluster page. * * @see GPlayApps::getClusterPages() Returns an iterator of cluster pages. * @see GPlayApps::getClusterApps() Returns an iterator of applications from the Google Play store for the specified cluster page. */ class ClusterPage { /** @var string title cluster page */ private $title; /** @var string cluster page url */ private $url; /** * Creates an object with information about the cluster page. * * @param string $title cluster page title * @param string $url cluster page url */ public function __construct(string $title, string $url) { $this->title = $title; $this->url = $url; } /** * Returns the cluster page title. * * @return string cluster page title */ public function getTitle(): string { return $this->title; } /** * Returns the cluster page url. * * @return string cluster page url */ public function getUrl(): string { return $this->url; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Builder | Folder | 0755 |
|
|
App.php | File | 7.76 KB | 0644 |
|
AppId.php | File | 3.71 KB | 0644 |
|
AppInfo.php | File | 14.86 KB | 0644 |
|
Category.php | File | 2.64 KB | 0644 |
|
ClusterPage.php | File | 1.37 KB | 0644 |
|
Developer.php | File | 7.02 KB | 0644 |
|
GoogleImage.php | File | 24.22 KB | 0644 |
|
HistogramRating.php | File | 3.23 KB | 0644 |
|
ImageInfo.php | File | 3.26 KB | 0644 |
|
JsonSerializableTrait.php | File | 1.14 KB | 0644 |
|
Permission.php | File | 1.63 KB | 0644 |
|
ReplyReview.php | File | 1.83 KB | 0644 |
|
Review.php | File | 4.98 KB | 0644 |
|
Video.php | File | 2.32 KB | 0644 |
|