services:
    from_callable:
        class: stdClass
        from_callable: ['@bar', 'do']
