PHP Basics

Traits

Table of Contents

Traits

Getter
Reads data from inaccessible properties by using magic methods.
Setter
Writes data to inaccessible properties by using magic methods.
Singleton
Allows just a single instance of the class using this trait.

        
On this page

Search results