Type-hint your constructor parameters and the container can guess which dependencies to inject.

class Foo { private $bar; public function __construct(Bar $bar) { $this->bar = $bar; } }

Covers 80% of the use cases with 0 configuration.