src/Taxonomy/TaxonomyField.php
protected function getTermRules()
    {
        $rules = [];

        foreach ($this->repository as $field) {
            $rules[$field->getName()] = $field->getOption('rules');
        }

        return $rules;
    }
protected function getTermRules()
    {
        $rules = [];

        foreach ($this->repository as $field) {
            $rules[$field->getName()] = $field->getOption('rules');
        }

        return $rules;
    }
protected function getTermRules ( ) { $ rules = [ ] ; foreach ( $ this -> repository as $ field ) { $ rules [ $ field -> getName ( ) ] = $ field -> getOption ( 'rules' ) ; } return $ rules ; }
Return terms rules.

@return array
Return terms rules .