Server IP : 104.21.14.103 / Your IP : 18.119.163.91 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/thietke365.net/wp-content/plugins/wordpress-seo/src/introductions/domain/ |
Upload File : |
<?php namespace Yoast\WP\SEO\Introductions\Domain; /** * Domain object that holds introduction information. */ class Introduction_Item { /** * The unique name. * * @var string */ private $name; /** * The priority. * * @var int */ private $priority; /** * Constructs the instance. * * @param string $name The unique name. * @param int $priority The priority. */ public function __construct( $name, $priority ) { $this->name = $name; $this->priority = $priority; } /** * Returns an array representation of the data. * * @return array Returns in an array format. */ public function to_array() { return [ 'name' => $this->get_name(), 'priority' => $this->get_priority(), ]; } /** * Returns the unique name. * * @return string */ public function get_name() { return $this->name; } /** * Returns the requested pagination priority. Higher means earlier. * * @return int */ public function get_priority() { return $this->priority; } }