if not pass constructor in your class it should automatically called in php code example Example: php constructor __construct ([ mixed $args = "" [, $... ]] ) : void