--- title: 'If you''re returning class names (as opposed to instances), you can use the class-name docblock' tweet_id: '1469321064668753921' thread_slug: weekly-thread-2021-49 author_username: freekmurze images: - 'https://pbs.twimg.com/media/FGFgPPKWYAoNJB9.jpg' created_at: 2021-12-10T15:00:15+00:00 slug: if-youre-returning-class-names-as-opposed-to-instances-you-can-use-the-class-name-docblock --- If you’re returning a fully qualified class name, you can use the `class-name` docblock. You can specify a base class or interface between `<>` And of course, you can also return an array of `class-name`s too 👍 #php