Corcel\TermTaxonomy::__get PHP Méthode

__get() public méthode

Magic method to return the meta data like the post original fields
public __get ( string $key ) : string
$key string
Résultat string
    public function __get($key)
    {
        if (!isset($this->{$key})) {
            if (isset($this->term->{$key})) {
                return $this->term->{$key};
            }
        }
        return parent::__get($key);
    }