src/Reflection/ReflectionEntity.php
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;
    }
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;
    }
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 ; }
Model mutators grouped by their type.

@return array
Model mutators grouped by their type .