← All docs

get_called_class()

Returns the late-static-binding class name.

get_called_class()

function get_called_class(): string

Returns the late-static-binding class name.

Parameters: none.

Returns: string

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how get_called_class is implemented in the compiler, see the internals page.