function Global / class_basename
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

class_basename

class_basename ( ) : string

Get the class "basename" of the given object / class.

Parameters

  • $class string|object