protected function getClassName($object)
	{
		if (is_object($object))
		{
			$object = get_class($object);
		}

		$nameArray = explode('\\', $object);

		return array_pop($nameArray);
	}
protected function getClassName($object)
	{
		if (is_object($object))
		{
			$object = get_class($object);
		}

		$nameArray = explode('\\', $object);

		return array_pop($nameArray);
	}
protected function getClassName ( $ object ) { if ( is_object ( $ object ) ) { $ object = get_class ( $ object ) ; } $ nameArray = explode ( '\\' , $ object ) ; return array_pop ( $ nameArray ) ; }
Gets the base class name.

If a value of 'Fuel\Fieldset\Element' is passed then 'Element' is returned.
If an object is passed rather than a string get_class() will be used to get the class name first.

This really should be moved to common

@param  Renderable $object

@return string

@since 2.0
Gets the base class name .