%path%/foo.php foo true false service("foo").foo() ~ (container.hasParameter("foo") ? parameter("foo") : "default") foo true false