Commit af4a4d92 by Qiang Xue

Merge pull request #5002 from willaustin/patch-1

Typo in concept-behaviors.md
parents 9414953f 2635efd7
......@@ -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