54 foreach (
$slots as $slot ) {
55 $role = $slot->getRole();
69 parent::__construct(
$slots );
80 if ( !is_array( $this->slots ) ) {
85 $this->slots[$role] = $slot;
117 if ( !is_array( $this->slots ) ) {
121 unset( $this->slots[$role] );
129 if ( $this->resetCallback ) {
140class_alias( MutableRevisionSlots::class,
'MediaWiki\Storage\MutableRevisionSlots' );
Base interface for content objects.