src/Debugger/Report/Container.php
public function add(INotification $note){
		switch( $note->position ){
			case Blueprint::TOP:
				$this->top($note);
				return;

			case Blueprint::MIDDLE:
				$this->middle($note);
				return;

			case Blueprint::BOTTOM:
				$this->bottom($note);
				return;
			
			default:
				$this->middle($note);
				return;
		}
	}
public function add(INotification $note){
		switch( $note->position ){
			case Blueprint::TOP:
				$this->top($note);
				return;

			case Blueprint::MIDDLE:
				$this->middle($note);
				return;

			case Blueprint::BOTTOM:
				$this->bottom($note);
				return;
			
			default:
				$this->middle($note);
				return;
		}
	}
public function add ( INotification $ note ) { switch ( $ note -> position ) { case Blueprint :: TOP : $ this -> top ( $ note ) ; return ; case Blueprint :: MIDDLE : $ this -> middle ( $ note ) ; return ; case Blueprint :: BOTTOM : $ this -> bottom ( $ note ) ; return ; default : $ this -> middle ( $ note ) ; return ; } }
Yes, this looks like something is hard coded. We want this.
Yes this looks like something is hard coded . We want this .