-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Docs
-
Not Needed
-
In the APM tutorial, the command name is checked by inspecting the command document.
if ( array_key_exists( 'find', (array) $event->getCommand() ) )
This should be simplified by using the getCommandName method.
if ( 'find' === $event->getCommandName() )