public function __construct(Configuration $configuration = null) { if ($configuration !== null) { $this->configuration = $configuration; } }