src/mako/database/midgard/ORM.php
protected function getClassShortName(?string $className = null): string
	{
		$class = $className ?? static::class;

		$pos = strrpos($class, '\\');

		if($pos === false)
		{
			return $class;
		}

		return substr($class, $pos + 1);
	}
protected function getClassShortName(?string $className = null): string
	{
		$class = $className ?? static::class;

		$pos = strrpos($class, '\\');

		if($pos === false)
		{
			return $class;
		}

		return substr($class, $pos + 1);
	}
protected function getClassShortName ( ? string $ className = null ) : string { $ class = $ className ?? static :: class ; $ pos = strrpos ( $ class , '\\' ) ; if ( $ pos === false ) { return $ class ; } return substr ( $ class , $ pos + 1 ) ; }
Returns the short name of a class.

@param  string|null $className Class name
@return string
Returns the short name of a class .