46 private $mergeCallback;
80 public function setFlag( $flag, $unset =
false ) {
82 $this->flags &= ~$flag;
84 $this->flags |= $flag;
97 return $this->flags & $flag;
108 if ( $this->mergeCallback ) {
109 return ( $this->mergeCallback )( $this, $that );
112 if ( ( $that instanceof
self ) && $this->type === $that->type &&
148 $this->mergeCallback = $callback;
160class_alias( SearchIndexFieldDefinition::class,
'SearchIndexFieldDefinition' );