Using ::class on objects in PHP 8.0 November 26, 2020 (January 28, 2023) PHP 0 Comments 1572 Views Since PHP 5.5, we can use the special ::class constant which allows getting a fully qualified name (FQN) of the class by using ClassName::class syntax. Let's say we have a...