• File: indexable-hierarchy.php
  • Full Path: /home/matthif/www/wp-content/plugins/wordpress-seo/src/models/indexable-hierarchy.php
  • Date Modified: 02/24/2024 11:29 PM
  • File size: 585 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Yoast\WP\SEO\Models;

use 
Yoast\WP\Lib\Model;

/**
 * Indexable Hierarchy model definition.
 *
 * @property int $indexable_id The ID of the indexable.
 * @property int $ancestor_id  The ID of the indexable's ancestor.
 * @property int $depth        The depth of the ancestry. 1 being a parent, 2 being a grandparent etc.
 * @property int $blog_id      Blog ID.
 */
class Indexable_Hierarchy extends Model {

    
/**
     * Which columns contain int values.
     *
     * @var array
     */
    
protected $int_columns = [
        
'indexable_id',
        
'ancestor_id',
        
'depth',
        
'blog_id',
    ];
}