Returns modificator.

@return array
518920
protected function getModificator()
	{
		if ( $this->modificator ) {
			list($modificator_name, $modificator_value) = each($this->modificator);
		}
		else {
			$modificator_name = $modificator_value = null;
		}

		return array($modificator_name, $modificator_value);
	}
1205575
public function getMutators(): array
    {
        $mutators = [
            self::MUTATOR_GETTER   => [],
            self::MUTATOR_SETTER   => [],
            self::MUTATOR_ACCESSOR => [],
        ];

        foreach ((array)$this->getProperty('getters', true) as $field => $filter) {
            $mutators[self::MUTATOR_GETTER][$field] = $filter;
        }

        foreach ((array)$this->getProperty('setters', true) as $field => $filter) {
            $mutators[self::MUTATOR_SETTER][$field] = $filter;
        }

        foreach ((array)$this->getProperty('accessors', true) as $field => $filter) {
            $mutators[self::MUTATOR_ACCESSOR][$field] = $filter;
        }

        return $mutators;
    }
568612
public function getValidator()
    {
        if(!$this->hasValidator() && $this->hasForm()) {
            $this->setValidator(clone $this->getForm()->getValidator());
            $this->getValidator()->clearErrors()->clearMessages()->clearRules();
        }
        return $this->validator;
    }
323151
public function getConverter()
    {
        if ($this->_converter === null) {
            $this->_converter = $this->app->createObject(AssetConverter::class);
        } elseif (is_array($this->_converter) || is_string($this->_converter)) {
            if (is_array($this->_converter) && !isset($this->_converter['__class'])) {
                $this->_converter['__class'] = AssetConverter::class;
            }
            $this->_converter = $this->app->createObject($this->_converter);
        }

        return $this->_converter;
    }
739675
public function getIgnores()
    {
        $configFile = $this->directory.'/.moodle-plugin-ci.yml';

        if (!is_file($configFile)) {
            return [];
        }

        $config = Yaml::parse(file_get_contents($configFile));

        // Search for context (AKA command) specific filter first.
        if (!empty($this->context) && array_key_exists('filter-'.$this->context, $config)) {
            return $config['filter-'.$this->context];
        }

        return array_key_exists('filter', $config) ? $config['filter'] : [];
    }
155814
public function getEditor()
    {
        $user = null;

        if($this->hasProperty('modified_by') && !empty($this->modified_by)) {
            $user = $this->getObject('user.provider')->getUser($this->modified_by);
        }

        return $user;
    }
431527
public function getContainerManager()
    {
        if (null === $this->containerManager) {
            $this->containerManager = new Manager\ContainerManager(
                $this->config['default_container_plugin']
            );
            $this->containerManager->setEditor($this);
        }

        return $this->containerManager;
    }
408983
public function getSignalManager()
    {
        static $manager;
        if (is_callable($this->getSettings()->getSignalManager()) && null == $manager) {
            $manager = call_user_func($this->getSettings()->getSignalManager(), $this);
        }

        return $manager;
    }
429191
private function valueModification($value, array $modifiers)
    {
        if (is_null($value)) {
            if ($modifiers['n'] || Compat::getOpt('types')) {
                return $this->implementation->reprNULL($this->connection);
            }
        }
        if ($modifiers['h']) {
            return $this->implementation->reprHexadecimal($this->connection, $value);
        }
        if ($modifiers['r']) {
            return $this->implementation->reprString($this->connection, $value);
        }
        if ($modifiers['i']) {
            return $this->implementation->reprInt($this->connection, $value);
        } elseif ($modifiers['f']) {
            return $this->implementation->reprFloat($this->connection, $value);
        } elseif ($modifiers['b']) {
            return $this->implementation->reprBool($this->connection, $value);
        }
        if (Compat::getOpt('types')) {
            $type = gettype($value);
            if ($type === 'integer') {
                return $this->implementation->reprInt($this->connection, $value);
            } elseif ($type === 'double') {
                return $this->implementation->reprFloat($this->connection, $value);
            } elseif ($type === 'boolean') {
                return $this->implementation->reprBool($this->connection, $value);
            }
        }
        return $this->implementation->reprString($this->connection, $value);
    }
1295102
private function removeModifier($modifier)
    {
        if ($this->hasModifier($modifier)) {
            $this->modifiers = str_replace($modifier, '', $this->modifiers);
        }

        return $this;
    }
914515
public function getFlattenValidators()
    {
        if (!$this->exists) {
            return [];
        }

        $validators = $this->validators;
        $return     = [];
        if (!empty($validators)) {
            foreach ($validators as $validator) {
                $return[$validator->validator_id] = $validator->value;
            }
        }
        return $return;
    }
416098
public function getSelector(LocatorHelper $locator_helper)
	{
		list($modificator_name, $modificator_value) = $this->getModificator();

		if ( $this->element ) {
			return $locator_helper->getElementLocator(
				$this->element,
				$this->block,
				$modificator_name,
				$modificator_value
			);
		}

		return $locator_helper->getBlockLocator($this->block, $modificator_name, $modificator_value);
	}
1342614
public static function getConstraintsValidator()
    {
        if (self::$constraintsValidator === null) {
            self::$constraintsValidator = Validation::createValidatorBuilder()
                ->enableAnnotationMapping(self::getAnnotationReader())
                ->getValidator();
        }

        return self::$constraintsValidator;
    }
1062055
public function getLoaders()
    {
        $loaders = array();
        foreach ($this->validators as $validator) {
            $loaders[$validator->getName()] = $validator->getLoader();
        }

        return $loaders;
    }
616288
public function getDecorators()
    {
        $found = array($this);
        if (method_exists($this->decoratedBatch, 'getDecorators')) {
            $found = array_merge($found, $this->decoratedBatch->getDecorators());
        }

        return $found;
    }
53421
public function getValidator()
    {
        if (!$this->_validator instanceof AnDomainValidatorAbstract) {
            if (!$this->_validator instanceof AnServiceIdentifier) {
                $this->setValidator($this->_validator);
            }

            $config = array(
                'description' => $this->_repository->getDescription(),
            );

            $this->_validator = $this->getService($this->_validator, $config);
        }

        return $this->_validator;
    }
1120305
public function getCustomisationList()
    {
        $return = [];
        $items = $this->Customisations();

        if ($items && $items->exists()) {
            foreach ($items as $item) {
                $return[] = $item->Title . ': ' . $item->Value;
            }
        }

        $this->extend("updateCustomisationList", $return);

        return implode(", ", $return);
    }