Course lesson

Retrieve public class properties with PHP’s arrow syntax

Creating class properties is useless unless you can read back that property! There's an easy way to do this, with PHP's shorthand arrow syntax.

Duration
2 min
Access
Included
Transcript
Retained from source evidence

Creating class properties is useless unless you can read back that property! There's an easy way to do this, with PHP's shorthand arrow syntax.