Commit 2635efd7 by William Austin

Typo in concept-behaviors.md

The method 'bar()' does not exist in this context. I believe it should be 'foo().'
parent 9414953f
......@@ -210,7 +210,7 @@ You can also call a *public* method of the behavior similarly:
$component->foo();
```
As you can see, although `$component` does not define `prop1` and `bar()`, they can be used as if they are part
As you can see, although `$component` does not define `prop1` and `foo()`, they can be used as if they are part
of the component definition due to the attached behavior.
If two behaviors define the same property or method and they are both attached to the same component,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment