Skip to content

Commit bf3801e

Browse files
authored
Update event_dispatcher.rst
1 parent 724d85c commit bf3801e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ order. Start by creating this custom event class and documenting it::
262262
*/
263263
class OrderPlacedEvent extends Event
264264
{
265-
const NAME = 'order.placed';
265+
public const NAME = 'order.placed';
266266

267267
protected $order;
268268

0 commit comments

Comments
 (0)