PHP Editor Autocomplete

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    But before we go on we need to help my editor.
  • 0:09
    It's confused.
  • 0:10
    Inside printShipSummary my editor doesn't seem to recognize
  • 0:14
    the sayHello method on Ship.
  • 0:17
    It thinks it doesn't exist.
  • 0:19
    But down at the bottom of the file, when
  • 0:21
    I called doesGivenShipHaveMoreStrength,
  • 0:24
    it's not highlighted in yellow.
  • 0:27
    That means my editor does see that this method exists.
  • 0:31
    So what gives?

PHP Editor Autocomplete


In this lesson, you'll learn how to add a specially-formatted comment to your method that will enable additional autocomplete functionality in IDEs.

Log in or sign up to download companion files.
Additional resources: