efed6005cb
In the dumped PHP class, we must use get() and not get*Service() methods to get services. That's because all calls must be managed by get(). From the outside, you can call get*Service() because as they are protected, they are caught by the __call() method; which is not the case obviously when it is used internally. If not, if you override a service with set(), this won't work when a service depends on this one (the default one will still be used).
23 lines
1.5 KiB
Plaintext
23 lines
1.5 KiB
Plaintext
digraph sc {
|
|
ratio="compress"
|
|
node [fontsize="11" fontname="Arial" shape="record"];
|
|
edge [fontsize="9" fontname="Arial" color="grey" arrowhead="open" arrowsize="0.5"];
|
|
|
|
node_foo [label="foo (alias_for_foo)\nFooClass\n", shape=record, fillcolor="#eeeeee", style="dotted"];
|
|
node_bar [label="bar\nFooClass\n", shape=record, fillcolor="#eeeeee", style="filled"];
|
|
node_foo_baz [label="foo.baz\nBazClass\n", shape=record, fillcolor="#eeeeee", style="filled"];
|
|
node_foo_bar [label="foo_bar\nFooClass\n", shape=record, fillcolor="#eeeeee", style="filled"];
|
|
node_method_call1 [label="method_call1\nFooClass\n", shape=record, fillcolor="#eeeeee", style="filled"];
|
|
node_factory_service [label="factory_service\n\n", shape=record, fillcolor="#eeeeee", style="filled"];
|
|
node_service_container [label="service_container\nSymfony\\Component\\DependencyInjection\\ContainerBuilder\n", shape=record, fillcolor="#9999ff", style="filled"];
|
|
node_foobaz [label="foobaz\n\n", shape=record, fillcolor="#ff9999", style="filled"];
|
|
node_foo -> node_foo_baz [label="" style="filled"];
|
|
node_foo -> node_service_container [label="" style="filled"];
|
|
node_foo -> node_bar [label="setBar()" style="dashed"];
|
|
node_bar -> node_foo_baz [label="" style="filled"];
|
|
node_method_call1 -> node_foo [label="setBar()" style="dashed"];
|
|
node_method_call1 -> node_foo [label="setBar()" style="dashed"];
|
|
node_method_call1 -> node_foo [label="setBar()" style="dashed"];
|
|
node_method_call1 -> node_foobaz [label="setBar()" style="dashed"];
|
|
}
|