public function __construct($composer, $input) { $this->composer = $composer; $this->input = $input; $this->component = $this->getComponent($composer); }