August 2016
Intermediate to advanced
610 pages
11h 55m
English
The traditional development approach is to place the class into its own file. Typically, classes contain logic that implements a single purpose. Classes are further broken down into self-contained functions which are referred to as methods. Variables defined inside classes are referred to as properties. It is recommended to develop a test class at the same time, a topic discussed in more detail in Chapter 13, Best Practices, Testing, and Debugging.
class, add a DocBlock. You can then define properties and methods. In this example, we define ...Read now
Unlock full access