public function __construct(Mainframe $mainframe = null, RequestConverter $converter = null) { $mainframe = $mainframe ?: new Mainframe(); $converter = $converter ?: new RequestConverter(); parent::__construct($mainframe, $converter); }