public function __construct(SomeInterface $argument1, BasicClass $argument2) { $this->argument1 = $argument1; $this->argument2 = $argument2; }