Kentico/delivery-sdk-php

View on GitHub
src/KenticoCloud/Delivery/Models/Taxonomies/Term.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * Represents taxonomy 'terms' element.
 */

namespace KenticoCloud\Delivery\Models\Taxonomies;

/**
 * Class Term.
 */
class Term
{
    /**
     * Gets the name of the taxonomy term.
     *
     * @var string
     */
    public $name = null;

    /**
     * Gets the codename of the taxonomy term.
     *
     * @var string
     */
    public $codename = null;

    /**
     * Gets nested taxonomy terms.
     *
     * @var null
     */
    public $terms = array();

    /**
     * Taxonomy term empty constructor.
     * 
     * Constructor used when Taxonomy term is supposed to be created
     * but not loaded with data.
     */
    public function __construct() {}
}