private function parseDefinitionValue($definition, $value)
	{
		if (is_callable($definition[self::DEFINITION_FUNC])) {
			array_unshift($definition[self::DEFINITION_ARGS], $value);
			$value = call_user_func_array($definition[self::DEFINITION_FUNC], $definition[self::DEFINITION_ARGS]);
		}

		return $value;
	}
private function parseDefinitionValue($definition, $value)
	{
		if (is_callable($definition[self::DEFINITION_FUNC])) {
			array_unshift($definition[self::DEFINITION_ARGS], $value);
			$value = call_user_func_array($definition[self::DEFINITION_FUNC], $definition[self::DEFINITION_ARGS]);
		}

		return $value;
	}
private function parseDefinitionValue ( $ definition , $ value ) { if ( is_callable ( $ definition [ self :: DEFINITION_FUNC ] ) ) { array_unshift ( $ definition [ self :: DEFINITION_ARGS ] , $ value ) ; $ value = call_user_func_array ( $ definition [ self :: DEFINITION_FUNC ] , $ definition [ self :: DEFINITION_ARGS ] ) ; } return $ value ; }
Parses a value based on a definition.

@param array $definition Definition array.
@param mixed $value      Value.
@return mixed
Parses a value based on a definition .