lithium\core\StaticObjectDeprecated::_parents()

protected static method
This method is deprecated.

Gets and caches an array of the parent methods of a class.

Returns

array

Returns an array of parent classes for the current class.

Source

	protected static function _parents() {
		$message  = '`' . __METHOD__ . '()` has been deprecated. For property merging ';
		$message .= 'use `\lithium\core\MergeInheritable::_inherit()`';
		trigger_error($message, E_USER_DEPRECATED);

		$class = get_called_class();

		if (!isset(self::$_parents[$class])) {
			static::$_parents[$class] = class_parents($class);
		}
		return static::$_parents[$class];
	}