final public function addOverride($class, $type, array $options)
    {
        if (!isset($this->overrides[$class])) {
            $this->overrides[$class] = [];
        }

        if (!isset($this->overrides[$class][$type])) {
            $this->overrides[$class][$type] = [];
        }

        $this->overrides[$class][$type][] = $options;
    }
final public function addOverride($class, $type, array $options)
    {
        if (!isset($this->overrides[$class])) {
            $this->overrides[$class] = [];
        }

        if (!isset($this->overrides[$class][$type])) {
            $this->overrides[$class][$type] = [];
        }

        $this->overrides[$class][$type][] = $options;
    }
final public function addOverride ( $ class , $ type , array $ options ) { if ( ! isset ( $ this -> overrides [ $ class ] ) ) { $ this -> overrides [ $ class ] = [ ] ; } if ( ! isset ( $ this -> overrides [ $ class ] [ $ type ] ) ) { $ this -> overrides [ $ class ] [ $ type ] = [ ] ; } $ this -> overrides [ $ class ] [ $ type ] [ ] = $ options ; }
Adds new override.

@param string $class
@param string $type
@param array  $options
Adds new override .